Say the entire kafka cluster is down and there's no brokers to connect to. Is it possible to use the java producer send method and not block until there's a timeout? Is it as simple as registering a callback method?
We need the ability for our application to not have any kind of delay when sending messages and the cluster is down. It's ok if the messages are lost when the cluster is down. Thanks!