I just checked some tutorials from the Microsoft documentation, then I think I'm missing a point.
It is possible to bind an Azure Function directly to a Service Bus or an Event Hub. So, what is the benefit to use an Event Grid Trigger then query the Service Bus or the Event Hub in response to that event ?
First example here, using an Event Grid between a Service Bus and an Azure Function : https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-to-event-grid-integration-function (the same tutorial exists for a Logic App, which also have a Service Bus integration).
Another example here, using an Event Grid between an Event Hub and an Azure Function : https://docs.microsoft.com/en-us/azure/event-grid/event-grid-event-hubs-integration
I tried to find some explanations but without success. Is there a specific documentation where I can find informations about that method ?
Thanks a lot