Re: Timeout not getting applied on KafkaAdminClient.create

2023-02-13 Thread shruti pandey
OUT_MAX_MS_CONFIG / > SOCKET_CONNECTION_SETUP_TIMEOUT_MS_CONFIG helps. The MAX defaults to 30 > seconds. > > From: dev@kafka.apache.org At: 02/13/23 08:46:12 UTC-5:00To: > dev@kafka.apache.org > Subject: Timeout not getting applied on KafkaAdminClient.create > > Hi, > > I wa

Timeout not getting applied on KafkaAdminClient.create

2023-02-13 Thread shruti pandey
Hi, I want to add timeout for KafkaAdminClient creation. AdminClient admin1 = KafkaAdminClient.create(properties); I have thread which gets killed after 10seconds. I want that if KafkaAdminClient creation is taking more time it should timeout. But when kafka-broker is not present my code gets st