So far, we have talked about integrating Azure Event Grid with already built-in publishers and topics, using Resource Group as an example. I mentioned at the beginning of this chapter that this service is capable of handling custom topics, making it a really flexible solution that can act as an event gateway. In this section, we will cover this topic and try to use Event Grid as our router for handling and maintaining the routing of our events.
Publishing custom events to Azure Event Grid
Event gateway concept
Let's look at the following diagram:
Here, you have a single events producer and four different handlers. Now, if you imagine that Publisher publishes only custom events, you can see that Event Grid is able to...