nodece opened a new pull request, #24652:
URL: https://github.com/apache/pulsar/pull/24652

   PIP: #24485 
   
   ### Motivation
   
   In a GEO replication scenario, if the remote cluster does not have the 
replicated topic and the auto-creation type differs between the local and 
remote clusters, message replication may fail. To ensure seamless replication, 
the topic metadata must be properly synchronized across clusters.
   
   This is part of PIP-433.
   
   https://github.com/apache/pulsar/pull/24136 is the same as this PR.
   
   ### Modifications
   
   - When both the local and remote partitioned topic metadata indicate 
`partitions=0`, this means the topic is non-partitioned. In this case, the 
local cluster sends a non-partitioned topic creation request to the remote 
cluster.
   
   - If the local partitioned topic metadata has `partitions>0`, this means the 
topic is partitioned:
     - If the remote partitioned topic metadata has `partitions=0`, the local 
cluster sends a partitioned topic creation request to the remote cluster.
     - If partitions differ between the local and remote cluster, please stop 
GEO.
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->


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