You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2021/07/04 13:45:00 UTC
[jira] [Resolved] (KAFKA-13030) FindCoordinators batching causes
slow poll when requesting older broker
[ https://issues.apache.org/jira/browse/KAFKA-13030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Ping Tsai resolved KAFKA-13030.
------------------------------------
Resolution: Duplicate
close as duplicate (https://github.com/apache/kafka/pull/10963#issuecomment-873593708)
> FindCoordinators batching causes slow poll when requesting older broker
> -----------------------------------------------------------------------
>
> Key: KAFKA-13030
> URL: https://issues.apache.org/jira/browse/KAFKA-13030
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Major
>
> https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java#L888
> {quote}
> if (e instanceof NoBatchedFindCoordinatorsException) {
> batchFindCoordinator = false;
> clearFindCoordinatorFuture();
> lookupCoordinator();
> return;
> }
> {quote}
> The current request future is NOT updated so it can't be completed until timeout. It causes a slow poll when users first poll data from older broker.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)