Akhq fails to work in Docker environment #1368
-
Hi This is my docker-compose.yml that works previously but Akhq fails to list the topics for the latest versions (0.23.0, dev):
Here is error message in the browser console:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I've the feeling there is an issue on the KAFKA_LISTENER_SECURITY_PROTOCOL_MAP, KAFKA_ADVERTISED_LISTENERS and KAFKA_LISTENERS, I should not be like that? environment:
KAFKA_BROKER_ID: 1
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: 'CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT'
KAFKA_ADVERTISED_LISTENERS: 'PLAINTEXT://kafka:9092'
KAFKA_PROCESS_ROLES: 'broker,controller'
KAFKA_CONTROLLER_QUORUM_VOTERS: '1@kafka:29093'
KAFKA_LISTENERS: 'PLAINTEXT://kafka:9092,CONTROLLER://kafka:29093,PLAINTEXT_HOST://0.0.0.0:29092'
KAFKA_CONTROLLER_LISTENER_NAMES: 'CONTROLLER'
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS: 3
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1 |
Beta Was this translation helpful? Give feedback.
-
Just a follow-up. After testing different Kafka UI tools I found correct Docker Compose configuration for Akhq.
|
Beta Was this translation helpful? Give feedback.
Just a follow-up. After testing different Kafka UI tools I found correct Docker Compose configuration for Akhq.
So 2 changes should be made: