On Fri, Mar 20, 2015 at 3:24 PM, tao xiao <xiaotao...@gmail.com> wrote:
> The underlining send runs in a different thread and doesn't block
> producer.send(). One way I can think of to detect this is to set
> block.on.buffer.full=false and catch BufferExhaustedException then check if
> the broker is reachable. But this is an hacky way as BufferExhaustedException

What is the correct method to detect whether the broker is reachable?

Reply via email to