Skip to content

check null to avoid NPE for internalSetTopicPolicies #8201

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

hangc0276
Copy link
Contributor

Motivation & Changes

  1. add null check for topic policies to avoid NPE
  2. add boundary check for MaxUnackedMessagesOnSubscription and SetMaxUnackedMessagesOnConsumer

@hangc0276
Copy link
Contributor Author

/pulsarbot run-failure-checks

@sijie sijie merged commit 7a1be70 into apache:master Oct 5, 2020
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Nov 13, 2020
### Motivation & Changes
1. add null check for topic policies to avoid NPE
2. add boundary check for `MaxUnackedMessagesOnSubscription` and `SetMaxUnackedMessagesOnConsumer`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants