MCPcopy Create free account
hub / github.com/apache/pulsar-client-go / SetMaxSubscriptionsPerTopic

Method SetMaxSubscriptionsPerTopic

pulsaradmin/pkg/admin/topic.go:2189–2191  ·  view source on GitHub ↗
(topic utils.TopicName, maxSubscriptions int)

Source from the content-addressed store, hash-verified

2187}
2188
2189func (t *topics) SetMaxSubscriptionsPerTopic(topic utils.TopicName, maxSubscriptions int) error {
2190 return t.SetMaxSubscriptionsPerTopicWithContext(context.Background(), topic, maxSubscriptions)
2191}
2192
2193func (t *topics) SetMaxSubscriptionsPerTopicWithContext(
2194 ctx context.Context,

Callers

nothing calls this directly

Tested by

no test coverage detected