kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jinxing <jinxing6...@126.com>
Subject async producer callback not reliable
Date Tue, 08 Sep 2015 10:50:40 GMT
if i wanna send the message syncronously i can do as below:
future=producer.send(producerRecord, callback);
future.get();


but the throughput decrease dramatically; 


is there a method to send the messages by batch but synchronously ?

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