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

Kip-848: Next Generation Consumer Group #685

Open
aratz-lasa opened this issue Mar 5, 2024 · 5 comments
Open

Kip-848: Next Generation Consumer Group #685

aratz-lasa opened this issue Mar 5, 2024 · 5 comments
Labels
enhancement New feature or request help wanted

Comments

@aratz-lasa
Copy link

aratz-lasa commented Mar 5, 2024

I wanted to know what is the plan on implementing KIP-848. I see a dedicated branch just for this, but it's been inactive for a year. @twmb I would be happy to help move it forward.

@twmb
Copy link
Owner

twmb commented Mar 6, 2024

I have to evaluate what this entails. The branch is stale because I used to implement protocol support before it was rolled out in Kafka, but stopped once Kafka started changing APIs repeatedly before the API was finally released.

I'm not sure 848 is high priority though because it's released as preview only. I'm not sure how hard it'll be to implement, but likely pretty hard...

@twmb twmb added the enhancement New feature or request label Mar 7, 2024
@aratz-lasa
Copy link
Author

Yeah, it's pretty hard. I've been reading all the JIRA tasks they have, and it's crazy. They made significant changes to the client. Here you can see notes about the new client-side state machine: https://cwiki.apache.org/confluence/display/KAFKA/Consumer+rebalance#Consumerrebalance-RebalanceStateMachine

Most of the remaining tasks will be merged for 3.8.0 release (which will be in May). However, I didn't find any official source on the timeline.

@twmb
Copy link
Owner

twmb commented Mar 26, 2024

Yeah I'm probably going to need help with this, this is a big one.

Otherwise this may be unsupported for a while while I slowly slowly tinker away adding support. It seems like a lot of work for minor gain.

@aratz-lasa
Copy link
Author

@twmb I'm able to help you. This week, I'm starting to implement the server-side logic, so I'll get a good understanding of the topic. If you want we can collaborate on this work.

@twmb
Copy link
Owner

twmb commented Jun 8, 2024

I definitely missed your reply above^.

I'm starting to think about this (a little bit). One thing I may lean to do first is to improve the guts of the consumer so that moving a partition between brokers does not require a full consumer stop/restart -- and then after, implement KIP-848.

Or it may make sense to just start with 848 logic, I'm really not sure -- I haven't dug into it much.

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

No branches or pull requests

2 participants