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

Cooperative Rebalance #1081

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

serj026
Copy link

@serj026 serj026 commented Jun 17, 2024

The purpose of these changes is to add a functional version of node-rdkafka that supports incremental cooperative rebalancing. Given that librdkafka has supported this type of rebalancing for nearly four years, this update aims to bring node-rdkafka in line with librdkafka capabilities and enhancing its functionality.

We use the code from this fork in our production environment for services that handle 5000 requests/messages per second. Using the cooperative-sticky partitioning strategy has shown good results by avoiding "stop-the-world" situations. Specifically, we have observed increased throughput and reduced spikes during scale-up and scale-down operations of pods in Kubernetes.

@SeanReece
Copy link

@GaryWilber Any way we could get some eyes on cooperative rebalancing? :) This would be huge for us.

@GaryWilber
Copy link
Collaborator

@iradul Do you have access to trigger the PR test checks/workflow for this? I don't see a way to trigger it myself.

@ZhukovAntonPls
Copy link

ZhukovAntonPls commented Aug 28, 2024

@SeanReece @GaryWilber @iradul Guys, how can we escalate the testing and merging process of this PR? It would be very useful for the whole community

@ZhukovAntonPls
Copy link

@SeanReece @GaryWilber @iradul Pls help to finish this enhancement

@SeanReece
Copy link

FWIW We've decided to move to https://github.com/confluentinc/confluent-kafka-javascript which supports cooperative rebalance and provides a node-rdkafka compatible API.

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

Successfully merging this pull request may close these issues.

4 participants