The first resource in this chapter that we will look at is Event Hubs. Events Hubs can be used in any solution that wants to store millions of events on Azure. However, it is important to first understand the basics of events.
A primer on Event Hubs
Events
Events help change the current state to the target state. Events are different to messages. Messages are related to business functionality, such as sending order details to another system; events are different. For instance, a virtual machine being stopped is an event.
An event, along with the current state, helps in transitioning from current state to target state, and this transition is shown in the following diagram: