Running Kafka locally is OK for demo purposes, but not suitable for production use. The same reasons why you wouldn't want to run your own database server are why you would avoid running and maintaining your own Kafka instance. Azure Event Hub has added support for the Kafka protocol, so with minor modifications, we can update our application from using local Kafka instance to the scalable Azure Event Hub instance.
In the following sections, we will do the following:
- Create the Azure Event Hub via the portal and gather the required details to connect our microservice-based application.
- Modify the Helm chart to use the newly created Azure Event Hub.