[ https://issues.apache.org/jira/browse/KAFKA-8179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16892184#comment-16892184 ]
ASF GitHub Bot commented on KAFKA-8179: --------------------------------------- ableegoldman commented on pull request #7108: KAFKA-8179: add public ConsumerPartitionAssignor interface URL: https://github.com/apache/kafka/pull/7108 [Subtask JIRA](https://issues.apache.org/jira/browse/KAFKA-8703) Main changes of this PR * Deprecate old consumer.internal.PartitionAssignor and add public consumer.ConsumerPartitionAssignor with all OOTB assignors migrated to new interface * Refactor assignor's assignment/subscription related classes for easier to evolve API * Removed version number from classes as it is only needed for serialization/deserialization Other previously-discussed cleanup included in this PR: * Remove Assignment.error added in [pt 1](https://github.com/apache/kafka/pull/6528/files) * Remove ConsumerCoordinator#adjustAssignment added in [pt 2](https://github.com/apache/kafka/pull/6778/) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Incremental Rebalance Protocol for Kafka Consumer > ------------------------------------------------- > > Key: KAFKA-8179 > URL: https://issues.apache.org/jira/browse/KAFKA-8179 > Project: Kafka > Issue Type: Improvement > Components: consumer > Reporter: Guozhang Wang > Assignee: Guozhang Wang > Priority: Major > > Recently Kafka community is promoting cooperative rebalancing to mitigate the > pain points in the stop-the-world rebalancing protocol. This ticket is > created to initiate that idea at the Kafka consumer client, which will be > beneficial for heavy-stateful consumers such as Kafka Streams applications. > In short, the scope of this ticket includes reducing unnecessary rebalance > latency due to heavy partition migration: i.e. partitions being revoked and > re-assigned. This would make the built-in consumer assignors (range, > round-robin etc) to be aware of previously assigned partitions and be sticky > in best-effort. -- This message was sent by Atlassian JIRA (v7.6.14#76016)