Repository navigation
[improve][cli] Add --cleanupSubscription to pulsar-admin - #20028
Conversation
fa8c600 to
3f1e386
Compare
| sourceSpecBuilder.setNegativeAckRedeliveryDelayMs(sinkConfig.getNegativeAckRedeliveryDelayMs()); | ||
| } | ||
|
|
||
| if (sinkConfig.getCleanupSubscription() != null) { |
There was a problem hiding this comment.
Removals on this file seems breaking change?
There was a problem hiding this comment.
It's duplicated in lines 196~200
other deletions in this file also because of duplicate code
tisonkun
left a comment
There was a problem hiding this comment.
Thanks for your explanation! Running tests...
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #20028 +/- ##
============================================
- Coverage 72.93% 72.90% -0.03%
- Complexity 31934 31943 +9
============================================
Files 1868 1868
Lines 138449 138457 +8
Branches 15235 15235
============================================
- Hits 100978 100946 -32
- Misses 29438 29475 +37
- Partials 8033 8036 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
Merging... Thank you @jiangpengcheng! |
|
Hi @jiangpengcheng thanks for introducing this great improvement! We're trying to align docs with code for each release and I have some questions as below. Can you please help answer? TIA!
|
|
If it should be cherry-picked into |
ping @jiangpengcheng, can you answer the questions? |
|
@jiangpengcheng for the doc side, the flag has been shown on the Reference site, but language support info is missing. Can you add that? Thanks!
|
|
For the doc side, we need to add it to:
|
|
@Anonymitaet added here: #20836 |

Fixes #20027
Master Issue: #xyz
PIP: #xyz
Motivation
pulsar-admin can't set
cleanupSubscriptionfor functions/sinksModifications
add a
--cleanupSubscriptionparameterVerifying this change
(Please pick either of the following options)
(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: jiangpengcheng#11