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

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

edoardocomar commented on pull request #7745: KAFKA-9218: MirrorMaker 2 can 
fail to create topics
URL: https://github.com/apache/kafka/pull/7745
 
 
   Check topics in both source and target clusters to compute topic
   partitions to create on target.
   
   Co-authored-by: Edoardo Comar <[email protected]>
   Co-authored-by: Mickael Maison <[email protected]>
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
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:
[email protected]


> MirrorMaker 2 can fail to create topics
> ---------------------------------------
>
>                 Key: KAFKA-9218
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9218
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Mickael Maison
>            Assignee: Mickael Maison
>            Priority: Major
>
> MirrorSourceConnector.refreshTopicPartitions() does not handle topic creation 
> failure correctly.
> If createTopicPartitions() fails to create a topic, the next time 
> refreshTopicPartitions() it will not retry the creation. The creation will 
> only be retried if another topic has been created in the source cluster. This 
> is because knownTopicPartitions is updated before the topic creation is 
> attempted and it's only refreshed if a new topic appears.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to