Azure 服务总线 - 结合 SQL 和相关过滤器
我在文档中找不到,但行为不是我所期望的。
这里写道:
指定多个匹配属性时,过滤器将它们组合为逻辑 AND 条件,这意味着要使过滤器匹配,所有条件都必须匹配。
但它似乎只涉及多个相关滤波器。
当我定义 SQL 过滤器和相关过滤器时,似乎只使用了 1 个。
任何人都可以指出文档中定义它的特定位置吗?即它到底是如何工作的——评估哪个过滤器。
I couldn't find in in the docs, but the behaviour is not what I would expect.
Here it's written:
When specifying multiple match properties, the filter combines them as a logical AND condition, meaning for the filter to match, all conditions must match.
But it seems that it only concerns multiple correlation filters.
When I've defined SQL filter along with correlation filter it seemed like only 1 was used.
Can anyone point to specific place in docs where it's defined? I.e. how it exactly works - which filter is evaluated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为订阅定义多个规则时,这些规则是 OR 运算的。即,对于要发送到订阅的消息来说,将单个规则评估为真实就足够了。
When defining multiple rules for a subscription, the rules are OR-ed. I.e. it's enough for a single rule to be evaluated as truthy for the message to be sent to a subscription.