question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React to consumer rebalance

See original GitHub issue

From @janoskranczler on June 28, 2017 12:14

Hi guys, Is there any way I can react on a consumer rebalance (Kafka), if autoRebalanceEnabled is set to false? In Kafka client there is ConsumerRebalanceListener, but how can I listen on rebalance in SCS? (And if I can, what is the simplest way to determine the partition count before and after the rebalance?)

Copied from original issue: spring-cloud/spring-cloud-stream#1004

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sobychackocommented, Aug 16, 2018
0reactions
sobychackocommented, Nov 8, 2018

This commit introduced the ability for apps to provide custom rebalance listener. Closing the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React on Partition Assignment • Alpakka Kafka Documentation
Rebalancing starts with revoking partitions from all consumers in a consumer group and assigning all partitions to consumers in a second phase. During...
Read more >
React to consumer rebalance · Issue #1004 · spring-cloud ...
Hi guys, Is there any way I can react on a consumer rebalance (Kafka), if autoRebalanceEnabled is set to false?
Read more >
Cooperative Rebalancing in the Kafka Consumer, Streams ...
Any changes to these require the group to react in order to ensure that all topic partitions are being consumed from and that...
Read more >
Solving My Weird Kafka Rebalancing Problems & ...
Rebalancing is just that — the process to map each partition to precisely one consumer. While Kafka is rebalancing, all involved consumers' ...
Read more >
Kafka Consumer Rebalancing and Its Impact
If the consumer group coordinator doesn't receive heartbeats or brokers don't respond to brokers, then the group rebalances.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found