Skip to content

Broadcast mode subscription #262

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 !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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