-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[enh] Issue 15455: Pulsar Admin: create subscripion with Properties (PIP-105) #15503
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
[enh] Issue 15455: Pulsar Admin: create subscripion with Properties (PIP-105) #15503
Conversation
60098be to
4a0f7fd
Compare
mattisonchao
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.
Overall LGTM, Could we add a test for REST API with properties? Looks like we just have a test for cli.
f6f824e to
4fe43a2
Compare
|
/pulsarbot rerun-failure-checks |
2 similar comments
|
/pulsarbot rerun-failure-checks |
|
/pulsarbot rerun-failure-checks |
nicoloboschi
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
…PIP-105) (apache#15503) (cherry picked from commit e2fa189)
…PIP-105) (apache#15503) (apache#15681) (cherry picked from commit e2fa189)
Fixes #15455
Motivation
We are missing tools to manage Subscription properties introduces in PIP-105.
Modifications
Add initial support to "create subscription" in PulsarAdmin API (Java and CLI) to pass subscription properties.
The properties are passed as a query string parameter in order to keep compatibility with the old API and do not require a new API.
Verifying this change
This patch adds tests
Documentation
The documentation of pulsar-admin and PulsarAdmin is automatically generated, no need to do anything more