[
https://issues.apache.org/jira/browse/KAFKA-18189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kirk True updated KAFKA-18189:
------------------------------
Description:
The {{CoordinatorRequestManager.markCoordinatorUnknown()}} method logs a
warning for the user when the client is not able to connect with the
coordinator for more than a minute:
{quote}Consumer has been disconnected from the group coordinator for Xms{quote}
However, if the consumer logic invokes {{markCoordinatorUnknown()}} before a
connection was ever established, a bug in the logic causes the misleading
output of a log message such as:
{quote}Consumer has been disconnected from the group coordinator for
1733769862524ms{quote}
was:
The {{{}C\{{{}oordinatorRequestManager.markCoordinatorUnknown(){}}}}} method
logs a warning for the user when the client is not able to connect with the
coordinator for more than a minute:
{quote}Consumer has been disconnected from the group coordinator for Xms
{quote}
However, if the consumer logic invokes {{markCoordinatorUnknown()}} before a
connection was ever established, a bug in the logic causes the misleading
output of a log message such as:
{quote}Consumer has been disconnected from the group coordinator for
1733769862524ms
{quote}
> CoordinatorRequestManager log message can include incorrect coordinator
> disconnect time
> ---------------------------------------------------------------------------------------
>
> Key: KAFKA-18189
> URL: https://issues.apache.org/jira/browse/KAFKA-18189
> Project: Kafka
> Issue Type: Bug
> Components: clients, consumer
> Affects Versions: 3.9.0
> Reporter: Kirk True
> Assignee: Kirk True
> Priority: Minor
> Labels: consumer-threading-refactor
> Fix For: 4.0.0
>
>
> The {{CoordinatorRequestManager.markCoordinatorUnknown()}} method logs a
> warning for the user when the client is not able to connect with the
> coordinator for more than a minute:
> {quote}Consumer has been disconnected from the group coordinator for
> Xms{quote}
>
> However, if the consumer logic invokes {{markCoordinatorUnknown()}} before a
> connection was ever established, a bug in the logic causes the misleading
> output of a log message such as:
>
> {quote}Consumer has been disconnected from the group coordinator for
> 1733769862524ms{quote}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)