kafka-ui docker cant connect with kafka machine over ip #4278
Unanswered
ibragimazizli
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys, I've build kafka-ui using docker. when I trying to add another cluster it returns error:
[AdminClient clientId=kafka-ui-admin-1696630062-1] Connection to node -1 (/10.10.22.22:29092) could not be established. Broker may not be available.
kafka-ui | 2023-10-06 22:10:00,787 INFO [kafka-admin-client-thread | kafka-ui-admin-1696630143-3] o.a.k.c.NetworkClient: [AdminClient clientId=kafka-ui-admin-1696630143-3] Node 1 disconnected.
kafka-ui | 2023-10-06 22:10:00,787 WARN [kafka-admin-client-thread | kafka-ui-admin-1696630143-3] o.a.k.c.NetworkClient: [AdminClient clientId=kafka-ui-admin-1696630143-3] Connection to node 1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available.
yaml file:
version: '2'
services:
kafka-ui:
container_name: kafka-ui
image: provectuslabs/kafka-ui:latest
ports:
- 8080:8080
environment:
KAFKA_CLUSTERS_0_NAME: local
KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: 10.10.22.22:9092
DYNAMIC_CONFIG_ENABLED: 'true'
kafka-server.prop
listeners=PLAINTEXT://0.0.0.0:9092
advertised.listeners=PLAINTEXT://10.10.22.22:9092
Beta Was this translation helpful? Give feedback.
All reactions