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

How to implement self-defined partition assignment strategy when consumer group rebalance happens? #2354

Closed
1 of 7 tasks
op-hunter opened this issue Jun 5, 2019 · 1 comment

Comments

@op-hunter
Copy link

Read the FAQ first: https://github.com/edenhill/librdkafka/wiki/FAQ

Description

As far as I can see, when consumer group rebalance happens, the new partition assignment strategy is performed by group leader. I want to know whether librdkafka provides related API to set user-defined partition assignment strategy.

IMPORTANT: Always try to reproduce the issue on the latest released version (see https://github.com/edenhill/librdkafka/releases), if it can't be reproduced on the latest version the issue has been fixed.

Checklist

IMPORTANT: We will close issues where the checklist has not been completed.

Please provide the following information:

  • librdkafka version (release number or git tag): <REPLACE with e.g., v0.10.5 or a git sha. NOT "latest" or "current">
  • Apache Kafka version: <REPLACE with e.g., 0.10.2.3>
  • librdkafka client configuration: <REPLACE with e.g., message.timeout.ms=123, auto.reset.offset=earliest, ..>
  • Operating system: <REPLACE with e.g., Centos 5 (x64)>
  • Provide logs (with debug=.. as necessary) from librdkafka
  • Provide broker log excerpts
  • Critical issue
@C4ptainCrunch
Copy link

@op-hunter: it looks like it's not possible at the moment (see feature request #2284: Feature request: Support pluggable partition assignment algorithms for consumer)

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

No branches or pull requests

3 participants