Hi, is there a way to convert an existing subscrip...
# general
g
Hi, is there a way to convert an existing subscription from shared to key-shared?
k
Hi Gilles! > 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. https://github.com/apache/pulsar/discussions/22339#discussioncomment-8906608
🙌 1
g
Oh, interesting, I tried without success to use another type, but based on the above I'll check again if I did something wrong. Thx Kiryl
👍 2
I confirm - it works - Great!
👍 1