You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/21 17:04:00 UTC

[jira] [Commented] (KAFKA-7819) Trogdor - Improve RoundTripWorker

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

ASF GitHub Bot commented on KAFKA-7819:
---------------------------------------

cmccabe commented on pull request #6187: KAFKA-7819: Improve RoundTripWorker
URL: https://github.com/apache/kafka/pull/6187
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Trogdor - Improve RoundTripWorker
> ---------------------------------
>
>                 Key: KAFKA-7819
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7819
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Stanislav Kozlovski
>            Assignee: Stanislav Kozlovski
>            Priority: Minor
>
> Trogdor's RoundTripWorker task has a couple of shortcomings:
>  * Consumer GroupID is hardcoded and consumers use `KafkaConsumer#assign()`: [https://github.com/apache/kafka/blob/12947f4f944955240fd14ce8b75fab5464ea6808/tools/src/main/java/org/apache/kafka/trogdor/workload/RoundTripWorker.java#L314]
> Leaving you unable to run two separate instances of this worker on the same partition in the same cluster, as the consumers would overwrite each other's commits. It's probably better to add the task ID to the consumer group
>  * the task spec's `maxMessages` [is an integer|https://github.com/apache/kafka/blob/12947f4f944955240fd14ce8b75fab5464ea6808/tools/src/main/java/org/apache/kafka/trogdor/workload/RoundTripWorkloadSpec.java#L39], leaving you unable to schedule long-winded tasks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)