Reputation: 1174
I need to test my golang service against kafka rebalancing. How can I trigger it manually?
I run kafka locally in Docker. I have one broker. Is there any way force kafka to do this?
Upvotes: 2
Views: 4453
Reputation: 192023
Kafka doesn't rebalance; consumer groups do.
You'd need to run multiple instances of your consumer, then stop a few instances and observe the behavior of the running instance(s)
Upvotes: 7