-
Notifications
You must be signed in to change notification settings - Fork 109
Description
Hello, I now have a need like this:
Consumers need to subscribe to topic. I need to make sure that the subscription name is not consistent, so as to achieve the effect of broadcasting, and to ensure that every consumer receives a message. Now the subscription name can only be written in the comments. If I start multiple containers, I can't adjust the code every time. Is there any better solution to solve my needs?
Or is there any other solution that can achieve broadcasting in the case of multi-container startup.
I have considered concatenating the timestamp after the subscription name, but the annotation can only support constant parameters, so this scheme does not work.
If I use native pulsar to initialize consumers, I think I can, or look forward to your reply, to see if there is a better solution to help me solve this problem.
Thank you !