You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Lianet Magrans (Jira)" <ji...@apache.org> on 2023/11/16 17:26:00 UTC

[jira] [Created] (KAFKA-15843) Review consumer onPartitionsAssigned called with empty partitions

Lianet Magrans created KAFKA-15843:
--------------------------------------

             Summary: Review consumer onPartitionsAssigned called with empty partitions
                 Key: KAFKA-15843
                 URL: https://issues.apache.org/jira/browse/KAFKA-15843
             Project: Kafka
          Issue Type: Sub-task
          Components: clients, consumer
            Reporter: Lianet Magrans


Legacy coordinator triggers onPartitionsAssigned with empty assignment (which is not the case when triggering onPartitionsRevoked or Lost). This is the behaviour of the legacy coordinator, and the new consumer implementation maintains the same principle. We should review this to fully understand if it is really needed to call onPartitionsAssigned with empty assignment (or if it should behave consistently with the onRevoke/Lost)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)