[feat] [broker] PIP-188 Add support to auto create topic resources into green cluster before migration [part-3]#21354
Merged
Merged
Conversation
This was referenced Oct 13, 2023
This was referenced Oct 13, 2023
Merged
eolivelli
approved these changes
Oct 13, 2023
…to green cluster before migration
Codecov Report
@@ Coverage Diff @@
## master #21354 +/- ##
=============================================
+ Coverage 33.49% 73.26% +39.77%
- Complexity 12257 32540 +20283
=============================================
Files 1636 1888 +252
Lines 127789 140365 +12576
Branches 13963 15456 +1493
=============================================
+ Hits 42798 102843 +60045
+ Misses 79372 29439 -49933
- Partials 5619 8083 +2464
Flags with carried forward coverage won't be shown. Click here to find out more.
|
lhotari
approved these changes
Oct 14, 2023
15 tasks
vraulji567
pushed a commit
to vraulji567/pulsar
that referenced
this pull request
Oct 16, 2023
…to green cluster before migration [part-3] (apache#21354)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Right now, topic migration requires pre-req manual steps for admin to create migrated topic's resources into green cluster such as tenant, namespaces, namespace policies, and subscriptions. This PR allows admin to automate this process and perform migration without any manual intervention.
Modifications
Result
Broker manages topic resource creation at new migrated/green cluster and then perform topic migration without losing data.
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: