Azure EventGrid 主题与事件类型
Azure EventGrid Subject vs EventType
Event Grid Schema has two fields subject
and eventType
that can be used to filter the events that you want to handle using the Event Subscription Schema。除了 eventType
是完全匹配字符串,而 subject
使用 beginsWith
或 endsWith
匹配是否有关于何时使用哪个字段的建议或最佳实践?
are there recommendations or best practices on when to use which field?
我认为评论有道理,您可以参考文档 - Understand event filtering for Event Grid subscriptions。
Event Grid Schema has two fields subject
and eventType
that can be used to filter the events that you want to handle using the Event Subscription Schema。除了 eventType
是完全匹配字符串,而 subject
使用 beginsWith
或 endsWith
匹配是否有关于何时使用哪个字段的建议或最佳实践?
are there recommendations or best practices on when to use which field?
我认为评论有道理,您可以参考文档 - Understand event filtering for Event Grid subscriptions。