You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Luke Chen (Jira)" <ji...@apache.org> on 2021/07/04 06:58:00 UTC
[jira] [Assigned] (KAFKA-13013) Avoid specific exception handling
in AdminApiDriver
[ https://issues.apache.org/jira/browse/KAFKA-13013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luke Chen reassigned KAFKA-13013:
---------------------------------
Assignee: Luke Chen
> Avoid specific exception handling in AdminApiDriver
> ---------------------------------------------------
>
> Key: KAFKA-13013
> URL: https://issues.apache.org/jira/browse/KAFKA-13013
> Project: Kafka
> Issue Type: Improvement
> Components: admin
> Reporter: Mickael Maison
> Assignee: Luke Chen
> Priority: Major
>
> To enable downconverting requests when brokers don't support FindCoordinator v4, we added some logic in AdminApiDriver to handle NoBatchedFindCoordinatorsException.
> Ideally AdminApiDriver should not be aware of specific exceptions like this and instead delegate the handling to the corresponding strategy.
> Another option is to not rely on an Exception to identify the request version to use and use ApiVersions when creating the initial request. A good solution would work nicely with all types of clients (consumer, producer, admin).
> More details in:
> - https://github.com/apache/kafka/pull/10743#discussion_r659602262
> - https://github.com/apache/kafka/pull/10743#discussion_r649872433
--
This message was sent by Atlassian Jira
(v8.3.4#803005)