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

[Issue 14505] PIP-145: Enable evaluating subscription pattern on broker side #14804

Merged
merged 6 commits into from
Apr 4, 2022

Conversation

andrasbeni
Copy link
Contributor

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

  • Make sure that the change passes the CI checks.

This change added unit tests

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: yes: New optional fields are added to existing commands
  • The rest endpoints: no
  • The admin cli options: no
  • Anything that affects deployment: no

Documentation

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)

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.
@github-actions
Copy link

@andrasbeni:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@merlimat merlimat added this to the 2.11.0 milestone Mar 22, 2022
@merlimat merlimat added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Mar 22, 2022
@hangc0276 hangc0276 added type/feature The PR added a new feature or issue requested a new feature area/broker labels Mar 23, 2022
Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@merlimat
Copy link
Contributor

/pulsarbot rerun-failure-checks

@merlimat merlimat closed this Mar 31, 2022
@merlimat merlimat reopened this Mar 31, 2022
@merlimat merlimat merged commit f6b3fc2 into apache:master Apr 4, 2022
Lannnnh pushed a commit to Lannnnh/pulsar that referenced this pull request Apr 6, 2022
…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]>
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Apr 20, 2022
…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]>
@Anonymitaet Anonymitaet added doc-required Your PR changes impact docs and you will update later. doc-complete Your PR changes impact docs and the related docs have been already added. and removed doc-not-needed Your PR changes do not impact docs doc-required Your PR changes impact docs and you will update later. labels Aug 2, 2022
@andrasbeni andrasbeni deleted the PIP-145-Part1 branch August 8, 2022 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker doc-complete Your PR changes impact docs and the related docs have been already added. type/feature The PR added a new feature or issue requested a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants