[
https://issues.apache.org/jira/browse/KAFKA-8183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stanislav Kozlovski resolved KAFKA-8183.
----------------------------------------
Resolution: Fixed
> Trogdor - ProduceBench should retry on UnknownTopicOrPartitionException
> during topic creation
> ---------------------------------------------------------------------------------------------
>
> Key: KAFKA-8183
> URL: https://issues.apache.org/jira/browse/KAFKA-8183
> Project: Kafka
> Issue Type: Improvement
> Reporter: Stanislav Kozlovski
> Assignee: Stanislav Kozlovski
> Priority: Minor
>
> There exists a race condition in the Trogdor produce bench worker code where
> `WorkerUtils#createTopics()` [notices the topic
> exists|https://github.com/apache/kafka/blob/4824dc994d7fc56b7540b643a78aadb4bdd0f14d/tools/src/main/java/org/apache/kafka/trogdor/common/WorkerUtils.java#L159]
> yet when it goes on to verify the topics, the DescribeTopics call throws an
> `UnknownTopicOrPartitionException`.
> We should add sufficient retries such that this does not fail the task.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)