Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Discussion thread:  here

Vote thread:  here

JIRA:   https://issues.apache.org/jira/browse/KAFKA-20402

PR:    https://github.com/apache/kafka/pull/21961

Motivation


Consumer group rebalance is one of the most critical lifecycle events for Kafka consumers, because it directly affects users' message consume behavior. At the same time, Kafka is recommending and adopting server-side rebalance.

...

Server load the group.consumer.rebalance.listener.classes when startuping and trigger the callback interface when rebalance happened.

Refer to the PR example:

Note:  Cover all non-classic consume group due to the classic consume group will be deprecated soon.

Compatibility, Deprecation, and Migration Plan 

...