We have two producer performance tools at the moment: one at o.a.k.client.tools and one at kafka.tools
bin/kafka-producer-perf-test.sh is calling the kafka.tools one.
org.apache.kafka.clients.tools.ProducerPerformance has --messages listed as optional (with default) while leaving the parameter out results in an error.
Cleanup will include:
- Removing the kafka.tools performance tool
- Changing the shellscript to use new tool
- Fix the misleading documentation for --messages
- Adding both performance tools to the kafka docs