-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[PIP-143] Support split bundle by specified boundaries #13796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@aloyszhang:Thanks for your contribution. For this PR, do we need to update docs? |
|
Confirmed with @aloyszhang, since code is WIP, currently we do not know whether need to add docs or not, he will label this PR w/ a doc-related label later |
...va/org/apache/pulsar/common/naming/SpecifiedTopicCountEquallyDivideBundleSplitAlgorithm.java
Outdated
Show resolved
Hide resolved
|
@aloyszhang:Thanks for providing doc info! |
|
/pulsarbot run-failure-checks |
f127773 to
b8a7619
Compare
|
/pulsarbot run-failure-checks |
...va/org/apache/pulsar/common/naming/SpecifiedTopicCountEquallyDivideBundleSplitAlgorithm.java
Outdated
Show resolved
Hide resolved
cc0d3be to
87a2af5
Compare
|
/pulsarbot run-failure-checks |
1 similar comment
|
/pulsarbot run-failure-checks |
|
@codelipenghui @Jason918 PTAL, thanks |
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v1/Namespaces.java
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/common/naming/NamespaceBundleFactory.java
Show resolved
Hide resolved
...er/src/main/java/org/apache/pulsar/common/naming/SpecifiedPositionsBundleSplitAlgorithm.java
Show resolved
Hide resolved
...rc/test/java/org/apache/pulsar/common/naming/SpecifiedPositionsBundleSplitAlgorithmTest.java
Outdated
Show resolved
Hide resolved
pulsar-client-admin-api/src/main/java/org/apache/pulsar/client/admin/Namespaces.java
Show resolved
Hide resolved
pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdNamespaces.java
Outdated
Show resolved
Hide resolved
pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdNamespaces.java
Show resolved
Hide resolved
|
/pulsarbot run-failure-checks |
Jason918
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/common/naming/BundleSplitOption.java
Outdated
Show resolved
Hide resolved
...lient-admin-api/src/main/java/org/apache/pulsar/common/policies/data/TopicHashPositions.java
Outdated
Show resolved
Hide resolved
...er/src/main/java/org/apache/pulsar/common/naming/SpecifiedPositionsBundleSplitAlgorithm.java
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java
Outdated
Show resolved
Hide resolved
pulsar-client-admin-api/src/main/java/org/apache/pulsar/client/admin/Namespaces.java
Show resolved
Hide resolved
pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdNamespaces.java
Outdated
Show resolved
Hide resolved
|
/pulsarbot run-failure-checks |
|
@codelipenghui PTAL |
codelipenghui
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just left a minor comment, PTAL.
pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdNamespaces.java
Show resolved
Hide resolved
|
/pulsarbot run-failure-checks |
|
/pulsarbot run-failure-checks |
* support split bundle by specified boundaries * add license header * fix checkstyle * fix test NPE * fix test * fix checkstyle * fix test * apply comments * remove un-used import * apply comments * apply comments * fix test
* support split bundle by specified boundaries * add license header * fix checkstyle * fix test NPE * fix test * fix checkstyle * fix test * apply comments * remove un-used import * apply comments * apply comments * fix test (cherry picked from commit 7998c44)
* support split bundle by specified boundaries * add license header * fix checkstyle * fix test NPE * fix test * fix checkstyle * fix test * apply comments * remove un-used import * apply comments * apply comments * fix test (cherry picked from commit 7998c44)
Fixes #13761
Motivation
Support split partitions belonging to specified topic in a bundle
Modifications
SpecifiedTopicCountEquallyDivideBundleSplitAlgorithmBundleSplitOptionDoes this pull request potentially affect one of the following parts:
If
yeswas chosen, please highlight the changesDocumentation
Need to update docs?
no-need-doc