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

[jira] [Created] (KAFKA-16224) Fix handling of deleted topic when auto-committing before revocation

Lianet Magrans created KAFKA-16224:
--------------------------------------

             Summary: Fix handling of deleted topic when auto-committing before revocation
                 Key: KAFKA-16224
                 URL: https://issues.apache.org/jira/browse/KAFKA-16224
             Project: Kafka
          Issue Type: Sub-task
          Components: clients, consumer
            Reporter: Lianet Magrans
            Assignee: Lianet Magrans


Current logic for auto-committing offsets when partitions are revoked will retry continuously when getting UNKNOWN_TOPIC_OR_PARTITION, leading to the member not completing the revocation in time. We should consider this as an indication of the topic being deleted, and in the context of committing offsets to revoke partitions, we should abort the commit attempt and move on to complete and ack the revocation.  
While reviewing this, review the behaviour around this error for other commit operations as well in case a similar reasoning should be applied.



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