[
https://issues.apache.org/jira/browse/KAFKA-15425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17761135#comment-17761135
]
Satish Duggana commented on KAFKA-15425:
----------------------------------------
Thanks [~ChrisEgerton] for filing the JIRA on the broken
`AdminCLient.listOffsets` behavior.
> 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
> Priority: Blocker
> 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-12879, 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)