Describe the bug
外部应用无法连接Kafka服务,env 没有配置外部端口及公网ip,并映射端口
KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093,EXTERNAL://:9094
KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092,EXTERNAL://YOUR_PUBLIC_IP:9094
KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,EXTERNAL:PLAINTEXT,PLAINTEXT:PLAINTEXT
Bug source
System Environment
Application Version
e.g v4.5
CPU
Bug reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Bug reports
Bug Context
Bug context includes bug error, error logs and service status, it is very important for resolving issue
# bug error
(paste here)
# service status
(paste here)
# error logs
(paste here)
Bug Screenshot
paste screenshot here
Your suggestion
The reason of Bug
You can describe the reason if you have found it
Your solution for Bug
You can describe your solution here
Additional context
You can add any other context about the problem here.
Describe the bug
外部应用无法连接Kafka服务,env 没有配置外部端口及公网ip,并映射端口
KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093,EXTERNAL://:9094
KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092,EXTERNAL://YOUR_PUBLIC_IP:9094
KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,EXTERNAL:PLAINTEXT,PLAINTEXT:PLAINTEXT
Bug source
System Environment
Application Version
e.g v4.5
CPU
Bug reproduce
Steps to reproduce the behavior:
Bug reports
Bug Context
Bug context includes bug error, error logs and service status, it is very important for resolving issue
Bug Screenshot
paste screenshot here
Your suggestion
The reason of Bug
You can describe the reason if you have found it
Your solution for Bug
You can describe your solution here
Additional context
You can add any other context about the problem here.