You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have confirmed that this should be classified as an enhancement rather than a bug/feature.
Summary
In ExpressionForRetryMessageFilter, when isRetryTopic is true and the subscription type is TAG, it won't return true now and will decode message properties, which decreases the performance.
Enhance ExpressionForRetryMessageFilter performance. We don't need to decode message properties when isRetryTopic is true and the subscription type is TAG. Because tag subscriptions will be filtered on the client side.
Describe the Solution You'd Like
Return true directly when the subscription type is TAG.
Describe Alternatives You've Considered
none
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Before Creating the Enhancement Request
Summary
In
ExpressionForRetryMessageFilter
, whenisRetryTopic
is true and the subscription type is TAG, it won't return true now and will decode message properties, which decreases the performance.rocketmq/broker/src/main/java/org/apache/rocketmq/broker/filter/ExpressionForRetryMessageFilter.java
Lines 48 to 67 in 7996ec3
Motivation
Enhance
ExpressionForRetryMessageFilter
performance. We don't need to decode message properties when isRetryTopic is true and the subscription type is TAG. Because tag subscriptions will be filtered on the client side.Describe the Solution You'd Like
Return true directly when the subscription type is TAG.
Describe Alternatives You've Considered
none
Additional Context
No response
The text was updated successfully, but these errors were encountered: