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
kafka
section and edit the following values:... kafka: ... externalAccess: autoDiscovery: enabled: true ... enabled: true ... rbac: create: true ...
Click Upgrade.
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.
What’s next
- See Access the MQTT Broker Outside the Cluster
- See Access Factoryinsight Outside the Cluster
- See Access Services from Within the Cluster
Last modified May 5, 2023: feat: finishing touches (1147002)