codelipenghui opened a new pull request, #24687: URL: https://github.com/apache/pulsar/pull/24687
## Summary Updated Java API and CLI documentation to clarify the different behaviors when removing a cluster from namespace replication based on configuration store setup. ## Motivation Users were confused about what happens when removing a cluster from geo-replication. The behavior is significantly different between shared and separate configuration store setups, but this wasn't documented. ## Changes - **Java API (`Namespaces.java`)**: Updated `setNamespaceReplicationClusters()` and `setNamespaceReplicationClustersAsync()` documentation - **CLI (`CmdNamespaces.java`)**: Updated `set-clusters` command description ## Behavioral Clarification ### Shared Configuration Store - When removing a cluster from replication: **Data will be deleted from the removed cluster** to maintain consistency across the shared configuration ### Separate Configuration Store - When removing a cluster from replication: **Only replication stops from the operating cluster** to the removed cluster, but existing data on the removed cluster is preserved ## Test plan - [x] Documentation changes only - no functional code changes - [x] Verified existing tests still pass - [x] Updated both sync and async API documentation consistently - [x] Updated CLI help text to match API documentation 🤖 Generated with [Claude Code](https://claude.ai/code) -- 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]
