ymwneu opened a new issue, #9286:
URL: https://github.com/apache/rocketmq/issues/9286

   ### Before Creating the Enhancement Request
   
   - [x] I have confirmed that this should be classified as an enhancement 
rather than a bug/feature.
   
   
   ### Summary
   
   To count the number of filtered records in SQL, and identify the 
subscriptions that consume a significant amount of filtering resources.
   
   ### Motivation
   
   The SQL filtering is causing excessive CPU consumption, and the current 
system does not record the filtered message information for subscription 
groups. Therefore, there is a need to add this statistical information to 
facilitate the evaluation of resource consumption for each subscription group 
in the future.
   
   ### Describe the Solution You'd Like
   
   When using getMessage, count the number of messages filtered by SQL and 
record it in the result. Subsequently, the filter information can be tracked 
through ConsumeMessageContext.
   
   ### Describe Alternatives You've Considered
   
   no
   
   ### Additional Context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to