Azure Service Bus到事件网格集成 [英] Azure Service Bus to Event Grid integration
问题描述
大家好,
开始调查事件网格与服务总线的使用我正在尝试确定在使用主题时是否都需要或只是事件格。我使用当前使用逻辑应用程序作为事件处理程序的Event Grid主题。在测试如何将Service Bus
配置为事件生成器时,我可以创建Service Bus主题。可以将服务总线主题推送发布到事件网格主题,还是我离开。如果它可以是什么用例?
谢谢
是。这确实是可能的,但可能会有所不同。
Service Bus将事件(队列或主题订阅中的新消息)发布到Event Grid,它可以触发订阅者,如函数,逻辑应用程序或者是webhook。
但 邮件本身未发送。
一个事件(
发送此处所示的JSON有效负载)通知他们队列/主题订阅中有消息并且没有接收器正在监听它。因此,订阅者必须连接并从相应的队列/主题订阅中获取消息。
这些概念在其自己的doc中详细解释 -
Azure Service Bus到事件网格集成概述。
Hi All,
Having started to investigate the use of event grid with service bus I am trying to determine if both are required when Topics are used or just Event Grid. I use an Event Grid topic currently with a logic app as an event handler. In testing how Service Bus will be configured as an event producer I have the ability to create a Service Bus topic. Can a service bus topic push publish to a Event Grid topic or am I way off. If it can what is the use case?
Thanks
Yes. This is indeed possible but a little different that one might expect.
Service Bus publishes an event (new message in queue or topic subscription) to Event Grid which can trigger subscribers like Functions, Logic Apps, or a webhook. But the message itself is not sent.
An event (a JSON payload as shown here) is sent notifying them that there are messages in a queue/topic subscription and have no receivers listening on it. So, then the subscriber will have to connect and fetch messages from the corresponding queue/topic subscription.
These concepts are explained in detail in its own doc - Azure Service Bus to Event Grid integration overview.
这篇关于Azure Service Bus到事件网格集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!