You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "hrzzzz (via GitHub)" <gi...@apache.org> on 2024/12/27 09:02:17 UTC

[PR] [improve][broker] Support namespace-level configuration of migratedClusterUrl in blue-green migration feature [pulsar]

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

   PIP: 
   
   ### Motivation
   
   Currently, Pulsar supports blue-green cluster migration at both the cluster and namespace levels, but the `migratedClusterUrl` can only be set at the cluster level, meaning that migration can only occur to a single cluster. 
   
   However, there are times when we want to migrate different namespaces to different clusters. For example, a certain namespace belongs to a specific business and is currently in a public cluster. We want to migrate this namespace to a dedicated cluster for that business. Therefore, we would like to add the `migratedClusterUrl` configuration at the namespace level to support this functionality
   
   ### Modifications
   
   Allow specifying `migratedClusterUrl` at the namespace level.
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   Add test in: `org.apache.pulsar.broker.service.ClusterMigrationTest#testNamespaceMigrationWithNamespaceLevelMigratedClusterUrl`
   
   ### Does this pull request potentially affect one of the following parts:
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   *If the box was checked, please highlight the changes*
   
   - [ ] Dependencies (add or upgrade a dependency)
   - [ ] The public API
   - [ ] The schema
   - [ ] The default values of configurations
   - [ ] The threading model
   - [ ] The binary protocol
   - [x] The REST endpoints
   - [x] The admin CLI options
   - [ ] The metrics
   - [ ] Anything that affects deployment
   
   ### 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 -->
   
   ### Matching PR in forked repository
   
   PR in forked repository: https://github.com/hrzzzz/pulsar/pull/15
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [improve][broker] Support namespace-level configuration of migratedClusterUrl in blue-green migration feature [pulsar]

Posted by "hrzzzz (via GitHub)" <gi...@apache.org>.
hrzzzz closed pull request #23788: [improve][broker] Support namespace-level configuration of migratedClusterUrl in blue-green migration feature
URL: https://github.com/apache/pulsar/pull/23788


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org