I am running kafka-producer-perf-test.sh for performance test. I notice this line from the log: INFO Property request.required.acks is overridden to -1
So what does -1 mean in this case? Is acknowledgement enabled?
In producer.properties, I set request.required.acks to 1 and started the job. I still saw: INFO Property request.required.acks is overridden to -1 Then I I set request.required.acks to 0 and started the job. I got the same log: INFO Property request.required.acks is overridden to -1
Is it possible to turn on acknowledgement for this producer Performance test? BTW: For our application, we cannot afford losing any message and we are only interested in acknowledged mode.
Thanks. Setting --request-num-acks to 0 disables acknowledgement. Otherwise, enable the acknowledgement.
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext