[ https://issues.apache.org/jira/browse/KAFKA-10431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17185531#comment-17185531 ]
huxihx commented on KAFKA-10431: -------------------------------- Seems adding a new option to ProducerPerformance requires a KIP. I am thinking of replacing the randomly-choosing with a sequential consuming. Is it a better alternative? > ProducerPerformance with payloadFile arg: add support for sequential or > random outputs > -------------------------------------------------------------------------------------- > > Key: KAFKA-10431 > URL: https://issues.apache.org/jira/browse/KAFKA-10431 > Project: Kafka > Issue Type: Improvement > Components: tools > Affects Versions: 2.5.1 > Reporter: Zaahir Laher > Priority: Minor > > When using ProducerPerformance with the --payloadFile argument with a file > with multiple payloads (i.e the default is one payload per line) , the > ProducerPerformance randomly chooses payloads from the file. > This could result in the same payload being sent, which may not be the > desired result in some cases. > It would be useful to all have another argument that allows for sequence > payload submission if required. If left blank this arg would default to false > (i.e default random selection). -- This message was sent by Atlassian Jira (v8.3.4#803005)