GitHub user visortelle closed the discussion with a comment: Subscription type 
after the creation of the subscription using Pulsar Admin createSubscription 
method

@alexesom I think it's the correct answer to your question :)

https://stackoverflow.com/a/75485553/4182882

> The subscription type is determined when the first consumer connects. Pulsar 
> will not persist the subscription type to the metadata store, so Pulsar 
> doesn't have APIs to create a subscription with the subscription type (The 
> created subscription is maintained in the metadata store).
And if the subsequent consumers are using different subscription types, they 
will fail when they subscribe to the topic. After all consumers disconnect, the 
subscription will change to "No subscription type" state, so the subscription 
gets a chance to switch to a different subscription type as before.

GitHub link: 
https://github.com/apache/pulsar/discussions/22339#discussioncomment-8906608

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to