provectus / kafka-ui

Open-Source Web UI for Apache Kafka Management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not connect kafka from UI

doremiks7 opened this issue Β· comments

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running master-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

log error from docker compose
kafka-ui | 2024-03-27 02:40:10,705 INFO [main] o.s.b.a.e.w.EndpointLinksResolver: Exposing 2 endpoint(s) beneath base path '/actuator'
kafka-ui | 2024-03-27 02:40:10,757 INFO [main] o.s.b.a.s.r.ReactiveUserDetailsServiceAutoConfiguration:
kafka-ui |
kafka-ui | Using generated security password: b236acbf-a7dd-42f3-a22c-32a4fe9ef4ff
kafka-ui |
kafka-ui | 2024-03-27 02:40:10,959 WARN [main] c.p.k.u.c.a.DisabledAuthSecurityConfig: Authentication is disabled. Access will be unrestricted.

please help me for this problem

Expected behavior

No response

Your installation details

zookeeper:
image: wurstmeister/zookeeper
container_name: zookeeper
ports:
- "2181:2181"
kafka:
image: wurstmeister/kafka
container_name: kafka
ports:
- "9092:9092"
depends_on:
- zookeeper
environment:
KAFKA_ADVERTISED_HOST_NAME: localhost
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
kafka-ui:
image: provectuslabs/kafka-ui
container_name: kafka-ui
ports:
- "8090:8080"
depends_on:
- kafka
- zookeeper
environment:
KAFKA_CLUSTER_0_NAME: local
KAFKA_CLUSTER_0_BOOTSTRAP_SERVERS: kafka:9092
KAFKA_CLUSTER_0_ZOOKEEPER: zookeeper:2181
KAFKA_BROKERCONNECT: kafka:9092

Steps to reproduce

zookeeper:
image: wurstmeister/zookeeper
container_name: zookeeper
ports:
- "2181:2181"
kafka:
image: wurstmeister/kafka
container_name: kafka
ports:
- "9092:9092"
depends_on:
- zookeeper
environment:
KAFKA_ADVERTISED_HOST_NAME: localhost
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
kafka-ui:
image: provectuslabs/kafka-ui
container_name: kafka-ui
ports:
- "8090:8080"
depends_on:
- kafka
- zookeeper
environment:
KAFKA_CLUSTER_0_NAME: local
KAFKA_CLUSTER_0_BOOTSTRAP_SERVERS: kafka:9092
KAFKA_CLUSTER_0_ZOOKEEPER: zookeeper:2181
KAFKA_BROKERCONNECT: kafka:9092

Screenshots

image

Logs

kafka-ui | 2024-03-27 02:40:10,705 INFO [main] o.s.b.a.e.w.EndpointLinksResolver: Exposing 2 endpoint(s) beneath base path '/actuator'
kafka-ui | 2024-03-27 02:40:10,757 INFO [main] o.s.b.a.s.r.ReactiveUserDetailsServiceAutoConfiguration:
kafka-ui |
kafka-ui | Using generated security password: b236acbf-a7dd-42f3-a22c-32a4fe9ef4ff
kafka-ui |
kafka-ui | 2024-03-27 02:40:10,959 WARN [main] c.p.k.u.c.a.DisabledAuthSecurityConfig: Authentication is disabled. Access will be unrestricted.

Additional context

No response

Hello there doremiks7! πŸ‘‹

Thank you and congratulations πŸŽ‰ for opening your very first issue in this project! πŸ’–

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. πŸ‘€