Amirrr
Amirrr

Reputation: 31

kafka-producer-perf-test.sh how many producers?

Hello I am using the kafka-producer-perf-test.sh on the latest Kafka version but I am not able to figure, if it is possible to configure how many producers threads that are created?

Upvotes: 3

Views: 802

Answers (1)

Mickael Maison
Mickael Maison

Reputation: 26895

The kafka-producer-perf-test.sh tool (org.apache.kafka.tools.ProducerPerformance) only starts a single Producer. This is not configurable.

The old ProducerPerformance tool (kafka.tools.ProducerPerformance) which is still bundled in the Kafka distribution was able to start many threads.

To run it:

bin/kafka-run-class.sh kafka.tools.ProducerPerformance

Upvotes: 2

Related Questions