Re: How do we usually handle Node disconnected issue for kafka producer

2024-05-04 Thread Sachin Mittal
Hi Kamal, I understand this, however the connections are maintained by a vertx Kafka client and I am not able to find a way to catch the closed connection and reopen it. Would setting the connections.max.idle.ms = -1 or max int/long help here. Thanks Sachin On Sat, 4 May 2024 at 11:06 PM,

Re: How do we usually handle Node disconnected issue for kafka producer

2024-05-04 Thread Kamal Chandraprakash
Hi Sachin, Why do you want to change the default settings? If the connection is open and unused, then it is fair to close the connection after the timeout and reopen it when required. On Fri, May 3, 2024 at 1:06 PM Sachin Mittal wrote: > Hi, > I am using a Kafka producer java client by vert.x

Re: Apache zookeeper going down every 168 hours

2024-05-04 Thread Haruki Okada
I mean, just applying the PR linked to the ticket ( https://github.com/apache/kafka/pull/6517) locally. Or just cloning the branch of this PR. Note that the patch is not merged to upstream yet so you should try it at your own risk. Thanks, 2024年5月4日(土) 15:52 Yogeshkumar Annadurai : > Hello, >

Re: Apache zookeeper going down every 168 hours

2024-05-04 Thread Yogeshkumar Annadurai
Hello, Thanks for your prompt response. How to apply patch for this? Could you please provide further more details? Regards Yogeshkumar A On Sat, 4 May 2024 at 9:33 AM, Haruki Okada wrote: > Thanks for sharing logs. > > Kafka has a mechanism to mark log dir as "failed" when IOException