-
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
[feat] Add topic stats and metrics for observing message replay behavior and Key_Shared filtering/blocking behavior #23205
Comments
It seems that PIP-282 added some subscription stats in #21953 that improve observability of Key_Shared. |
There's already a counter for message redelivery: pulsar/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java Lines 959 to 961 in 77b6378
However, this isn't currently exposed in the subscription stats. This counter was added as part of Otel changes in #22693 . There's also an ack counter that was added: pulsar/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java Lines 955 to 957 in 77b6378
I think that it would be a non-breaking change to expose these in stats which wouldn't necessarily require a PIP. |
PIP-379: Key_Shared Draining Hashes for Improved Message Ordering covers observability. |
#23224 implemented |
#23429 adds observability for PIP-379 Key_Shared implementation. |
Search before asking
Motivation
Currently, it's very challenging to investigate issues related to message replay ("message redelivery controller"). Some examples of this include:
Solution
Add topic stats and metrics for observing message replay and related Key_Shared filtering (hash blocking) behavior.
Specific Metrics to Consider
Implementation Requirements
Expected Benefits
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: