-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Enhancement] Integrate Cruise Control into the Kafka broker scale up/down process #4112
Comments
Triaged on 26.5.2022: Related to #133. #133 should implement a check preventing broker scaledown from happening if there are any topics assigned still to the removed brokers. This issue should build on top of it and implement the automation -> to have the rebalance done automatically when scaling up or down. A second proposal will be needed for this. |
Hi @scholzj , are there any plans on moving forward with this task? We're currently evaluating Strimzi and broker scalability is an important factor for us. Would you please share more info what are the current outstanding tasks and whether you'll implement this and automatic rebalance on cluster scaling? |
Hi @viktorsomogyi. I guess the current state is the following: For scale-down:
For scale-up:
I think for both cases, the next steps should be to discuss the details of how it will be implemented. Some of the discussion happened in strimzi/proposals#57, but we decided to postpone it among other things because we were missing the blocking on scale-down that is now done. @ppatierno was working on this. To be honest, right now our focus is mostly on KRaft support. So I do not think we will get to this anymore in 2023. But this is still something we plan to support and I hope it should be one of the things we will do in early 2024 once most of the KRaft work is done. Of course, we are always interested in contributions - so if you would be interested, you could also join the work on this - that might speed it up 😉. CC @ppatierno: Not sure if you have something to add. |
@scholzj thanks for the very detailed writeup, it is really insightful, also the part that you'll working full speed on KRaft. That would have been another question from me 🙂. |
@viktorsomogyi Ok, great. Please let me know if you would have any more questions. Thanks |
Proposal for this one is now approved and merged https://github.com/strimzi/proposals/blob/main/078-auto-rebalancing-cluster-scaling.md. Going to work on the implementation. |
Closed by #10583 |
When you add Kafka brokers, the new brokers only accept new topics/partitions. The user needs to manually reassign partitions to spread the load onto the new brokers. The user can run a whole cluster rebalance manually via the
KafkaRebalance
CR. However, it would be nice to do this automatically (if desired).Scaling up can be improved by integrating with Cruise Control's add brokers functionality to rebalance the load as brokers are activated.
For removing brokers, the broker to be shut down needs to be "drained" of partitions. This will require integration with Cruise Control's decommissioning functionality.
The text was updated successfully, but these errors were encountered: