Hi,
I have previously send this query.
In my java application for kafkaProducer i created Admin and used this to
list topics.
Admin admin1 = Admin.create(properties).
ListTopicsResult listTopicResult = admin1.listTopics();
When producer was not able to connect to broker, thread get stucks at
l
-Original Message-
From: Luke Chen
Sent: Monday, December 12, 2022 3:09 PM
To: dev@kafka.apache.org
Cc: Brahmpal Kauntey
Subject: [External] : Re: Kafka AdminClient DEFAULT_API_TIMEOUT_MS_CONFIG
property not working as expected
Hi Shruti,
Are you sure it creates admin client successfully
Hi Shruti,
Are you sure it creates admin client successfully after setting
default.api.timeout.ms=2000 ? It should fail at this check:
https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L618-L621
Try also set request.timeout.ms=20
Hi,
In my java application for kafkaProducer i created Admin and used this to list
topics.
Admin admin1 = Admin.create(properties).
ListTopicsResult listTopicResult = admin1.listTopics();
When producer was not able to connect to broker, thread get stucks at listTopic
step.
To avoid this i ha