Build a real-time event-driven Java solution in Azure Send event-based telemetric data in real time to Azure Cosmos DB by using Azure Functions and an event hub.