Description
When running the producer performance test without providing a messages argument, you get an error:
$bin/kafka-producer-perf-test.sh --topics mirrormirror --broker-list kafka-dc21:9092 Missing required argument "[messages]" Option Description ------ ----------- ...... --messages <Long: count> The number of messages to send or consume (default: 9223372036854775807)
However the shell command documentation doesn't say that this is required and implies that 2^63-1 (Long.MaxValue) messages will be sent. It should probably look like the ConsoleProducer and prefix the documentation with REQUIRED. Or should we make this a non-required argument and set the default value to something sane like 100,000 messages.
Which option is preferable for this?