Access Kafka Outside the Cluster
This page describes how to access Kafka from outside the cluster.
less than a minute
By default the Kafka broker is only available from within the cluster, therefore you cannot access it from external applications.
You can enable external access from the Kafka configuration.
Before you begin
You need to have a UMH cluster. If you do not already have a cluster, you can create one by using the Management Console.
Enable external access from Kafka configuration
From UMHLens / OpenLens, go to Helm > Releases.
Click on the Upgrade button.
Search for the
kafkasection and edit the following values:
... kafka: ... externalAccess: autoDiscovery: enabled: true ... enabled: true ... rbac: create: true ...
To verify that the LoadBalancer service is created, go to Network > Services and search for united-manufacturing-hub-kafka-0-external.
Now you can connect to Kafka from external applications using the node IP and the port 9094.
- See Access the MQTT Broker Outside the Cluster
- See Access Factoryinsight Outside the Cluster
- See Access Services from Within the Cluster
Last modified March 31, 2023: Add missing step in MQTT RBAC guide (#110) (545a364)