kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vishal Santoshi <vishal.santo...@gmail.com>
Subject MirrorMaker 2.0 ( working off origin/2.4 )
Date Sun, 03 Nov 2019 15:40:26 GMT
Hello folks,
                  Was doing stress tests and realized that the replication
to the target cluster and thus the configuration of the KafkaProducer has a
default acks of -1 ( all ) and that was prohibitively expensive. It should
have been a simple a->b.producer.acks = 1 ( or  b.producer.acks = 1 or acks
= 1, have tried all ) override in the mm2.properties, but it does not take.
I verified by turning on TRACE and a little  instrumenting the code to
print out the acks .
https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/producer/internals/Sender.java#L806
.
 Am I missing something?

Regards

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