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

Can I assign a consumer to a specific partition ? #1664

Open
ShubhanshuSharma-hub opened this issue Feb 2, 2024 · 0 comments
Open

Can I assign a consumer to a specific partition ? #1664

ShubhanshuSharma-hub opened this issue Feb 2, 2024 · 0 comments

Comments

@ShubhanshuSharma-hub
Copy link

I want to assign a specific partition to a particular consumer like it is available in python, So is there any way I can do that?

await consumer.assign({ topic, partitions: [ { partition: 1}, { partition: 4}, ] })
or like
await consumer.subscribe({ topic, partitions: 1, });

#373 Found a related issue, I couldn't find the project which indicates the progress of the feature request

Also is this functionality available in "kafka-node" or "node-rdkafka"? Then please let me.

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

No branches or pull requests

1 participant