Sergey Kadaner created KAFKA-18833:
--------------------------------------
Summary: Infinite loop on authenticcation error with AWS MSK AIM
Key: KAFKA-18833
URL: https://issues.apache.org/jira/browse/KAFKA-18833
Project: Kafka
Issue Type: Bug
Components: clients
Reporter: Sergey Kadaner
If there are no security parameters specified while connecting to Amazon
Managed Streaming for Apache Kafka with Identity and Access Management enabled,
the client will retry the connection in a loop.
The following messages are printed repeatedly:
{noformat}
INFO [kafka-producer-network-thread | producer-4] [o.a.k.c.NetworkClient.:]
[Producer clientId=producer-4] Node -2 disconnected.
INFO [kafka-producer-network-thread | producer-4] [o.a.k.c.NetworkClient.:]
[Producer clientId=producer-4] Cancelled in-flight API_VERSIONS request with
correlation id 1465 due to node -2 being disconnected (elapsed time since
creation: 60ms, elapsed time since send: 60ms, throttle time: 0ms, request
timeout: 30000ms)
WARN [kafka-producer-network-thread | producer-4] [o.a.k.c.NetworkClient.:]
[Producer clientId=producer-4] Bootstrap broker
b-1.mskkafka.ionepq.11.kafka.region.amazonaws.com:9098 (id: -2 rack: null)
disconnected
{noformat}
[https://github.com/aws/aws-msk-iam-auth] was used for authentication.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)