GitHub user vearne added a comment to the discussion: 关于过滤器设计问题

[PullAPIWrapper.processPullResult()](https://github.com/apache/rocketmq/blob/rocketmq-all-4.8.0/client/src/main/java/org/apache/rocketmq/client/impl/consumer/PullAPIWrapper.java#L70)
```
subscriptionData.getTagsSet().contains(msg.getTags()
```
处理逻辑非常简单,几乎没有什么开销。
如果Broker都过滤干净,client的代码还能进一步精简

GitHub link: 
https://github.com/apache/rocketmq/discussions/6770#discussioncomment-5944604

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@rocketmq.apache.org

Reply via email to