Suhas Karanth
06/24/2025, 4:52 AMKey_Shared to Shared and vice versa?RunLLM
06/24/2025, 4:52 AMKey_Shared and Shared (or any other type) while consumers are connected. A subscription is bound to a single type by its name, and to change the type, you must first stop all consumers for that subscription, then reconnect with the new type. Attempting to connect a consumer with a different type to an active subscription will result in an error stating "Subscription is of different type" according to the official documentation and test cases.
Would you like more detail on the process or error handling?
Sources:
- PersistentTopicE2ETest.java
- the official documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.