-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Issue 14505] PIP-145: Enable evaluating subscription pattern on broker side #14804
Conversation
This is part 1 of PIP-145: Improve performance of regex subscriptions This change covers applying subscription pattern on broker side and using hashes to skip updates when nothing changed.
@andrasbeni:Thanks for your contribution. For this PR, do we need to update docs? |
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.
👍
pulsar-common/src/main/java/org/apache/pulsar/common/topics/TopicList.java
Show resolved
Hide resolved
pulsar-common/src/main/java/org/apache/pulsar/common/topics/TopicList.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java
Outdated
Show resolved
Hide resolved
/pulsarbot rerun-failure-checks |
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
Show resolved
Hide resolved
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java
Outdated
Show resolved
Hide resolved
pulsar-broker/src/test/java/org/apache/pulsar/client/impl/PatternTopicsConsumerImplTest.java
Show resolved
Hide resolved
…er side (apache#14804) * PIP-145: Enable evaluating subscription pattern on broker side This is part 1 of PIP-145: Improve performance of regex subscriptions This change covers applying subscription pattern on broker side and using hashes to skip updates when nothing changed. * TopicList class: make it utility, precompile pattern * Log when client provided pattern is too long * Fix code style error Co-authored-by: Matteo Merli <[email protected]>
…er side (apache#14804) * PIP-145: Enable evaluating subscription pattern on broker side This is part 1 of PIP-145: Improve performance of regex subscriptions This change covers applying subscription pattern on broker side and using hashes to skip updates when nothing changed. * TopicList class: make it utility, precompile pattern * Log when client provided pattern is too long * Fix code style error Co-authored-by: Matteo Merli <[email protected]>
Master Issue: #14505
Motivation
This is part 1 of PIP-145: Improve performance of regex subscriptions
Modifications
This change covers applying subscription pattern on broker side and
using hashes to skip updates when nothing changed.
Verifying this change
This change added unit tests
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
Check the box below or label this PR directly (if you have committer privilege).
Need to update docs?
doc-required
(If you need help on updating docs, create a doc issue)
no-need-doc
(Please explain why)
doc
(If this PR contains doc changes)