Skip to content
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

[client] Fix inconsistent parameter of TopicPolicies.getSubscriptionDispatchRate #15293

Merged
merged 1 commit into from
Apr 25, 2022

Conversation

Jason918
Copy link
Contributor

Motivation

getSubscriptionDispatchRate and getSubscriptionDispatchRateAsync in org.apache.pulsar.client.admin.TopicPolicies use "namespace" in parameter,
but the implementation in org.apache.pulsar.client.admin.internal.TopicPoliciesImpl uses "topic".

This should be a typo. "Topic" should be used.

Modifications

Use "topic" instead of "namespace".

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
    fix typo and doc error.

@Jason918
Copy link
Contributor Author

/pulsarbot run-failure-checks

@codelipenghui codelipenghui added this to the 2.11.0 milestone Apr 25, 2022
@codelipenghui codelipenghui merged commit 14ba6c4 into apache:master Apr 25, 2022
codelipenghui pushed a commit that referenced this pull request Apr 28, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request May 9, 2022
(cherry picked from commit 14ba6c4)
(cherry picked from commit 4ad4bd8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants