From the course: Azure Event Hubs for Developers
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Working with multiple consumer groups - Azure Tutorial
From the course: Azure Event Hubs for Developers
Working with multiple consumer groups
- [Instructor] In this demo, we are going to try out and switch consumer groups to see how events are processed. Currently, we are connected via the default consumer group which has a name default. Let's go ahead and scroll down in our handle event processing method, and here for the sake of testing, let's remove this. Let's go ahead and create a checkpoint every one event. So we make sure that we have passed all events and nothing is remaining. You don't want to do this in a real life scenario as you are making too many requests to storage. In a real life scenario, you should have something like this, where you either update the checkpoint every X number of events or you could add a timer, so you updated every one minute or so. But for our demo, let's go ahead and update the checkpoint after each request. Here we are output into the console the number of events since last checkpoint. Basically this will out put the number…
Contents
-
-
-
-
-
(Locked)
Creating an event receiver4m 47s
-
(Locked)
Creating event receiver resources4m 37s
-
(Locked)
Reading events from client applications6m 51s
-
(Locked)
Checkpointing in event hubs8m 20s
-
(Locked)
Understanding partitions3m 39s
-
(Locked)
Understanding consumer groups4m 5s
-
(Locked)
Working with multiple consumer groups4m 29s
-
(Locked)
-
-