Hello, I have 3 node kafka cluster, when one node goes down for some reason the request which are serving on down node is not routing to other running node, It takes me always to restart the services, Running on kafka version 3.2.1 (kraft mode)
On Mon, Dec 11, 2023 at 12:40 PM Luke Chen <show...@gmail.com> wrote: > Hi Ankit, > > We can't see the log snippet. > But it looks normal to disconnect when connections.max.idle.ms expires. > When increasing the connections.max.idle.ms value, there might be some > activities in the connection during this time (ex: at 5 min 10 sec), so the > idle timer is reset. > > Thanks. > Luke > > On Fri, Dec 8, 2023 at 11:06 PM Ankit Nigam > <ankit.ni...@ericsson.com.invalid> wrote: > > > Hi Team, > > > > > > > > We are using Apache Kafka 3.3.1 in our application. We have created > Kafka > > Admin Client , Kafka Producer and Kafka consumer in the application using > > the default properties. > > > > > > > > Once our application starts we are observing below disconnects logs every > > 5 minutes for Admin client and once for Kafka consumer and producer in > our > > application. Also at around the same time disconnection logs are being > > observed in Kafka debug server logs.. > > > > Below is log snippet for the same. > > > > > > > > Application logs snippet:- > > > > > > > > > > > > Debug Kafka server.log snippet > > > > > > > > > > > > > > > > > > > > However, if we create Kafka Admin client , producer and consumer by > > overriding default “connections.max.idle.ms” property to a value greater > > default value ( 5 mins ) like 5 mins 2 second or say 10 mins, we observe > > disconnection logs only one disconnection log. > > > > Below are logs for the same. > > > > > > > > > > > > Request you all to kindly let us know why this disconnection is > happening > > every 5 minutes if we don’t override the default “ > connections.max.idle.ms” > > property and why it disconnects just only once if the time is increased > > beyond 5 mins for the “connections.max.idle.ms” property.? > > > > > > > > Regards, > > > > Ankit Nigam > > > > > > > -- Thanks & Regards *VIKRAM S SINGH*