Ryan Leslie created KAFKA-16235:
-----------------------------------

             Summary: auto commit still causes delays due to retriable 
UNKNOWN_TOPIC_OR_PARTITION
                 Key: KAFKA-16235
                 URL: https://issues.apache.org/jira/browse/KAFKA-16235
             Project: Kafka
          Issue Type: Bug
          Components: consumer
    Affects Versions: 3.2.1, 3.3.0
            Reporter: Ryan Leslie


In KAFKA-12256 an issue was described where deleted topics can cause 
auto-commit to get stuck looping on UNKNOWN_TOPIC_OR_PARTITION, resulting in 
message delays. This had also been noted in KAFKA-13310 and a fix was made 
which was included in Kafka 3.2.0: [https://github.com/apache/kafka/pull/11340]

Unfortunately, that commit contributed to another more urgent issue, 
KAFKA-14024, and after subsequent code changes in 
https://github.com/apache/kafka/pull/12349, KAFKA-12256 was no longer fixed, 
and has been an issue again since 3.2.1+

This ticket is primarily for more visibility around this since KAFKA-12256 has 
been resolved for a long time now even though the issue exists. Ideally this 
behavior could once again be corrected in the existing consumer, but at this 
point most development effort appears to be focused on the next-gen consumer 
(KIP-848). I do see that for the next-gen consumer at least, these problems are 
being newly resurfaced and tracked in KAFKA-16233 and KAFKA-16224.



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

Reply via email to