简体   繁体   English

Azure 事件中心消费者组

[英]Azure Event Hub Consumer Groups

I get that consumer groups will retrieve messages from the Event Hubs however;但是,我知道消费者组将从事件中心检索消息;

Assume I have 1 producer, 32 partitions and 2 CG's, CG 1 will use the data in a different source but needs the same message.假设我有 1 个生产者、32 个分区和 2 个 CG,CG 1 将使用不同源中的数据,但需要相同的消息。

Does a message in the queue replicate across all 32 partitions so CG1 & CG2 will retrieve the same sequenced data?队列中的消息是否在所有 32 个分区中复制,因此 CG1 和 CG2 将检索相同的排序数据?

New to this so thanks for any help!新手,所以感谢您的帮助!

Both consumer groups will receive the same data.两个消费者组将收到相同的数据。 They both have an independent view of that data.他们都对这些数据有独立的看法。 That means that CG1 might be further in processing the messages then CG2.这意味着 CG1 可能会比 CG2 进一步处理消息。 If, for example, CG1 processes message in memory it might be going through the messages faster than CG2 that is doing a lot of I/O to handle the messages.例如,如果 CG1 处理 memory 中的消息,它可能会比 CG2 更快地处理消息,因为 CG2 执行大量 I/O 来处理消息。 But they will both have access to all the data.但他们都可以访问所有数据。

Does this make sense to you?你能理解这个吗?

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

相关问题 什么是 Azure Event Hub 中的消费者组? - What is Consumer Group in azure Event Hub? Azure事件中心和多个使用者组 - Azure event hubs and multiple consumer groups 向 Azure 事件中心中的特定使用者组发送消息和从其接收消息 - Send messages to and receive from a particular Consumer Group in Azure Event Hub 您如何监控 Azure 事件中心消费者滞后? - How do you monitor Azure Event Hub consumer lag? 如何查看按消费者组分组的 Azure 事件中心指标? - How to see Azure Event Hub metrics grouped by consumer group? MS graph api:使用 Azure 事件中心订阅有关组更改的通知 - MS graph api: Subscribe for notifications on groups changes with Azure event hub 使用C#SDK以编程方式获取Azure IoT中心消费者组 - Get Azure IoT Hub Consumer Groups Programmatically Using C# SDK 我是否需要为多个接收器设置多个事件中心使用者组? - Do I need to have multiple event hub consumer groups for multiple sinks? Service Fabric 中的事件中心使用者 - Event Hub Consumer in Service Fabric 在使用2个分区创建的Azure事件中心中,事件中心使用者尝试连接到第3个和第4个分区 - In an Azure event-hub created with 2 partition, the event-hub consumer tries to connect to 3rd and 4th partition
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM