Consumer Groups

There is always a default consumer group. You can create up to 20 consumer groups in an Event Hub.

Stream Offsets & Checkpointing

An offset is a position of an event within a partition. It is a client-marker to specify at which point should the processing should happen from.

Consumers should store their own offsets.

Checkpointing is a process where readers mark their position in a partition in the event hubs.

Common Consumer Tasks

All consumers connect to the Event Hub via AMQP 1.0. It is a session and state-aware bidirectional communication channel.

As a partitioned consumer model, only 1 consumer can be active on a partition at a time within a consumer group.

The following data is read from the Event Hub

Offset

Sequence Number

Body

User Properties

System Properties.

As mentioned above, it is user’s responsibility to maintain this offset.

So now you know about Event Hubs!

Summary

Azure Event Hubs provide high-scalable, telemetry processing service that can be used for common applications. Event Hubs provide low latency.

In the next part of the blog, I’ll be covering a technical look at the Event Hubs wherein Dynamics CRM will publish data to the Event Hubs and how data is available for applications to consume! Watch out here for the upcoming blog very soon! Hope this overview was helpful.