Re: Fail fast producer/consumer when no connection to Kafka brokers cluster

2016-06-19 Thread Ewen Cheslack-Postava
You can adjust request.timeout.ms, which is shared between both new producer and new consumer. I don't think its quite what you want, but probably the closest that exists across both clients. There's not much more than that -- when you say "when the connection to the entire broker cluster is lost"

Fail fast producer/consumer when no connection to Kafka brokers cluster

2016-06-17 Thread Spico Florin
Hello! I would like to know what are the configurations/properties for the producer/consumer in order fail fast when the connection to the entire broker cluster is lost. For example if we can set up a parameter that when the connection trial reached a treshold then disconnect and throw an excepti