Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Multi-Topic Consumer in DotPulsar #227

Open
savan-rangrej opened this issue Jun 28, 2024 · 1 comment
Open

Support for Multi-Topic Consumer in DotPulsar #227

savan-rangrej opened this issue Jun 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@savan-rangrej
Copy link

Is your feature request related to a problem? Please describe

Hello DotPulsar Team,

I am currently working with Apache Pulsar and using DotPulsar for my messaging needs. I have a requirement to consume messages from multiple topics with a single consumer. This is a feature available in the Pulsar Java client, and I would like to see similar functionality in DotPulsar.

Java Client Example
In the Pulsar Java client, I can subscribe to multiple topics using a pattern or a list of topic names, as shown below:

Pattern Example:

Pattern pattern = Pattern.compile("public/default/.*");
pulsarClient.newConsumer()
        .subscriptionName("my-sub")
        .topicsPattern(pattern)
        .subscriptionTopicsMode(RegexSubscriptionMode.AllTopics)
        .subscribe();

Multiple Topics Example:

Consumer multiTopicConsumer = consumerBuilder
        .topics( "topic-1",
        "topic-2",
        "topic-3")
        .subscribe();

I would like to request the implementation of similar functionality in DotPulsar. Specifically, the ability to:

  1. Subscribe to multiple topics using a regex pattern.
  2. Subscribe to multiple topics by providing a list of topic names.

These features would greatly enhance the flexibility and usability of DotPulsar for handling complex messaging scenarios.

Thank you for considering this feature request. I appreciate the hard work and dedication of the DotPulsar team.

Best regards,
Savankumar Rangrej

Describe the solution you'd like and alternatives you've considered

We want Support for Multi-Topic Consumer in DotPulsar.
These features would greatly enhance the flexibility and usability of DotPulsar for handling complex messaging scenarios.

@savan-rangrej savan-rangrej added the enhancement New feature or request label Jun 28, 2024
@MartinDybdahlM
Copy link

This seems to be a duplicate of #5. This feature would also be very useful in our case. Hope there will soon be some traction on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants