简体   繁体   English

我们是否需要维护每个订阅将具有唯一的 EventType 或者多个订阅可以在 Azure EventGrid 域中具有相同的 EventType

[英]Do we need to maintain Each subscription will have unique EventType Or Multiple subscription can have same EventType in Azure EventGrid Domain

I am using EventGrid Domain in my project,我在我的项目中使用 EventGrid 域,
I have created One Topic name "AccountService" and我创建了一个主题名称“AccountService”和
Created 2 subscription( used WebHook endpoint)创建了 2 个订阅(使用了 WebHook 端点)
SubscriptionName: CR_Account and EventType: CreateAccount and Endpoint: Endpoint1 SubscriptionName:CR_Account 和 EventType:CreateAccount 和 Endpoint:Endpoint1
and
SubscriptionName: UP_Account and EventType: UpdateAccount and Endpoint: Endpoint2 SubscriptionName:UP_Account 和 EventType:UpdateAccount 和 Endpoint:Endpoint2

My concern is like can I create one more subscription我担心的是我可以再创建一个订阅吗
SubscriptionName: CRNew_Account and EventType: UpdateAccount and Endpoint: Endpoint3 SubscriptionName:CRNew_Account 和 EventType:UpdateAccount 和 Endpoint:Endpoint3

so that when EventGrid receives Event then it has to trigger both Subscriptions(here "CR_Account" and "CRNew_Account")这样当 EventGrid 接收到事件时,它必须触发两个订阅(这里是“CR_Account”和“CRNew_Account”)

The AEG supports a Fan-Out pattern, where the topic event message is multicast to all its subscribed subscriptions and based on their filtering, the event message is delivered to the destination endpoint in the reliable manner. AEG 支持扇出模式,其中主题事件消息被多播到其所有订阅的订阅,并且基于它们的过滤,事件消息以可靠的方式传递到目标端点。

In your case, both subscriptions such as CR_Account and CRNew_Account with a filtering on the EventType CreateAccount will received the same topic event message.在您的情况下,两个订阅(例如CR_AccountCRNew_Account对 EventType CreateAccount进行过滤)将收到相同的主题事件消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Azure function 绑定中访问 EventGridEvent.EventType - Accessing EventGridEvent.EventType in Azure function binding Azure Functions Runtime v1 EventGrid 订阅创建失败 - Azure Functions Runtime v1 EventGrid Subscription create fails 我应该为3个Handles.CircleHandleCap中的每一个设置什么EventType? - What EventType should I set for each of the 3 Handles.CircleHandleCap? Azure 函数可以侦听多个 EventGrid 事件吗? - Can an Azure function listen to multiple EventGrid Events? 点网:授权如果用户已订阅 - Dotnet: Authorize If users have a subscription Websphere MQ中是否可以有多个订户加入同一队列? - Can we have multiple subscribers to same queue in websphere MQ? 如何获取Azure订阅的OfferDurableId? - How do you get the OfferDurableId for an Azure subscription? 是否还有其他人对 Azure Batch 成功完成 .NET 中试用订阅的示例任务有疑问? - Does anyone else have issues with Azure Batch successfully completing sample tasks on a trial subscription in .NET? 我们可以为两个事件拥有相同的代表 - Can we have Same Delegate for Two Events 标定时Azure服务总线的唯一订阅名称 - Azure Service bus unique subscription name when scalling
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM