[ 
https://issues.apache.org/jira/browse/KAFKA-10431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17185615#comment-17185615
 ] 

Zaahir Laher commented on KAFKA-10431:
--------------------------------------

Yes, so basically the payloads from the file will be sent to the topic 
sequentially from top to bottom.

> 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)

Reply via email to