You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Zaahir Laher (Jira)" <ji...@apache.org> on 2020/08/27 06:00:20 UTC

[jira] [Comment Edited] (KAFKA-10431) ProducerPerformance with payloadFile arg: add support for sequential or random outputs

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

Zaahir Laher edited comment on KAFKA-10431 at 8/27/20, 6:00 AM:
----------------------------------------------------------------

Yes, so basically the payloads will be sent to the topic sequentially from the file, i.e each payload will only be sent once.


was (Author: zaahirlaher):
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)