What is the best way to handle kafka server going down during a message send by a producer? We have seen our producer stuck waiting until kafka server comes back. Is there ways the producer can catch a timeout or ways to test if Kafka server is up so to send the message. Having the producer hang in memory and not do anything indefinitly is not desirable in our scenario. Thanks for your help.
Jamie