lironghai commented on issue #5966: URL: https://github.com/apache/rocketmq/issues/5966#issuecomment-1414967573
> > > 这个场景使用 tag 可能并不合适,因为一条消息只能具有一个 tag。可以尝试使用 sql 过滤,详见[官网文档](https://rocketmq.apache.org/zh/docs/featureBehavior/07messagefilter#sql%E5%B1%9E%E6%80%A7%E8%BF%87%E6%BB%A4) > > > > > > 感谢回复! 我明白tag用来标明一类消息更合适,但是我们是想标明更细化标签,用来做消息过滤和分发,其中会包含部分业务功能信息;官网文档我也查看过了,sql92实现复杂过滤,但是暂时还不能支持contain包含的处理,只能是通过不同的key设置对应值来过滤。如果没有最理想的方式我们只能是通过属性key来区分过滤。 > > SQL92 支持 LIKE 操作符,可以用类似 `operation LIKE '%op1%'` 的语法来满足你的需求 sql92支持吗,我在官方文档并没有看到,还是隐藏的彩蛋 <手动狗头> -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
