kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ankit Jain <ankitjainc...@gmail.com>
Subject Async Non Blocking Kafka Producer
Date Wed, 07 Jun 2017 19:24:16 GMT
Hi,

We want to use the non blocking Kafka producer. The producer thread should
not block if the Kafka is cluster is down or not reachable.

Currently, we are setting following properties but the Producer thread is
still blocking if the Kafka cluster goes gown or unreachable.

* props.put("block.on.buffer.full", "false");*
* props.put("acks", "0");*

-- 
Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message