[ 
https://issues.apache.org/jira/browse/KAFKA-16057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ksolves reassigned KAFKA-16057:
-------------------------------

    Assignee: Ksolves

> Admin Client connections.max.idle.ms should be 9 minutes by default
> -------------------------------------------------------------------
>
>                 Key: KAFKA-16057
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16057
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Marcin Kuthan
>            Assignee: Ksolves
>            Priority: Minor
>
> Producer and consumer define connections.max.idle.ms to 9 minutes but Admin 
> uses 5 minutes by default.
> When the connection.max.idle.ms is equal to metadata.max.age.ms (5 minutes) 
> admin client disconnects frequently. I observe the following log in Kafka 
> Connect cluster:
> {code:java}
> [AdminClient clientId=MyClientName--shared-admin] Node XYVZ disconnected. 
> {code}
> AdminClient is trying to fetch metadata on every 5 minutes but the connection 
> has been already closed due to the connection.max.idle.ms.
> As a workaround I defined connection.max.idle.ms property explicitly to 9 
> minutes in Kafka Connect configuration. This way admin, producers and 
> consumers use the same configuration.
> I'm wondering why Admin uses different default for connection.max.idle.ms 
> than Consumer / Producer. Bug or feature?



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

Reply via email to