Skip to content

Broadcast mode subscription #262

@dsj017112

Description

@dsj017112

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 !

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions