简体   繁体   English

Azure 事件中心如何使用 Azure 服务总线

[英]How Azure Event Hubs uses Azure Service Bus

This question is not about the difference between Azure Event Hubs and Azure Service Bus.此问题与 Azure 事件中心和 Azure 服务总线之间的区别无关。

The question is as follows:问题如下:

If you add add Azure Events Hub to your application, then you will notice that it depends on Azure Service Bus, So Events Hub uses and relies on Service Bus.如果您将添加 Azure 事件中心添加到您的应用程序,那么您会注意到它依赖于 Azure 服务总线,因此事件中心使用并依赖于服务总线。 So the question will arise how Events Hub benefit from Service Bus, and how Service Bus fits in the partitioning concept of Events Hub?那么问题来了,Events Hub 是如何从 Service Bus 中受益的,Service Bus 如何适应 Events Hub 的分区概念呢? Does EH creates SB factories under the hood and uses them as partitions? EH 是否在后台创建 SB 工厂并将它们用作分区? Or what is the story.或者是什么故事。

I am happy to read articles or books about the issue.我很高兴阅读有关该问题的文章或书籍。

Event Hubs doesn't use Service Bus but they share common components that is why you may see "Service Bus" references when working with Event Hubs resources like exceptions, metrics, client errors etc.事件中心不使用服务总线,但它们共享通用组件,这就是为什么您在使用事件中心资源(如异常、指标、客户端错误等)时可能会看到“服务总线”引用的原因。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM