Skip to content

[pulsar-client-admin]: reduce code duplication in TopicsImpl#13388

Merged
codelipenghui merged 1 commit intoapache:masterfrom
HQebupt:cleanUp
Dec 21, 2021
Merged

[pulsar-client-admin]: reduce code duplication in TopicsImpl#13388
codelipenghui merged 1 commit intoapache:masterfrom
HQebupt:cleanUp

Conversation

@HQebupt
Copy link
Contributor

@HQebupt HQebupt commented Dec 18, 2021

Motivation

TopicsImpl contains lots of code duplication. So do a clean up.

Modifications

Refer: #13086 @eolivelli
use sync() to reduce code duplication.

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

Check the box below and label this PR (if you have committer privilege).

Need to update docs?

  • no-need-doc
    (Just code clean up)

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Dec 18, 2021
@HQebupt HQebupt force-pushed the cleanUp branch 3 times, most recently from 1b676d2 to a363baf Compare December 18, 2021 07:01
@codelipenghui codelipenghui added this to the 2.10.0 milestone Dec 21, 2021
@codelipenghui codelipenghui merged commit 14eaa3d into apache:master Dec 21, 2021
@yuruguo yuruguo mentioned this pull request Dec 21, 2021
1 task
lhotari added a commit to lhotari/pulsar that referenced this pull request Dec 21, 2021
@yuruguo yuruguo mentioned this pull request Dec 21, 2021
3 tasks
lhotari added a commit that referenced this pull request Dec 21, 2021
- align with recent refactoring #13388
Technoboy- pushed a commit to Technoboy-/pulsar that referenced this pull request Dec 29, 2021
Technoboy- pushed a commit to Technoboy-/pulsar that referenced this pull request Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants