You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chris Egerton (Jira)" <ji...@apache.org> on 2023/08/31 22:17:00 UTC

[jira] [Created] (KAFKA-15425) Compatibility break in Admin.listOffsets() (2)

Chris Egerton created KAFKA-15425:
-------------------------------------

             Summary: Compatibility break in Admin.listOffsets() (2)
                 Key: KAFKA-15425
                 URL: https://issues.apache.org/jira/browse/KAFKA-15425
             Project: Kafka
          Issue Type: Test
          Components: admin
    Affects Versions: 3.6.0
            Reporter: Chris Egerton
            Assignee: Chris Egerton
             Fix For: 3.6.0


The behavioral change that warrants this ticket is identical to the change noted in KAFKA-12879, but has a different root cause (KAFKA-14821 instead of KAFKA-12339).

In both this ticket and KAFKA-12339, the issue is that calls to {{Admin::listOffsets}} will now retry on the [UNKNOWN_TOPIC_OR_PARTITION error|https://github.com/apache/kafka/blob/16dc983ad67767ee8debd125a3f8b150a91c7acf/clients/src/main/java/org/apache/kafka/common/protocol/Errors.java#L165-L166] (and possibly eventually throw a {{{}TimeoutException{}}}), whereas before, they would fail immediately and throw an {{{}UnknownTopicOrPartitionException{}}}.



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