nodece commented on PR #22577:
URL: https://github.com/apache/pulsar/pull/22577#issuecomment-2076306671

   I think we intentionally overlooked the result of creating a topic for the 
remote cluster.
   
   This PR may break the user's behavior of creating topic.
   
   According to your description, when using the default broker configuration, 
and the geo-replication is enabled on the namespace level, the remote cluster 
will create two non-partitioned topics, tenant/namespace/topic-partition-1 and 
tenant/namespace/topic-partition-2 by the geo producer. Is it right?
   
   If right, I would suggest adding a topic check before starting the 
replicator to make sure that the topic is the same between local and remote 
clusters, if they are the same, start the replicator, otherwise throw a log. 
You can also add this check in the replicator task.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to