Skip to content

外部应用无法连接Kafka服务 for [Kafka] #2073

@laozhou0731

Description

@laozhou0731

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

  • Bugs from installation
  • Bugs from first use
  • Other (You should describe it)

System Environment

Application Version

e.g v4.5

CPU

  • amd64, x86
  • arm64
  • Other (You should describe it)

Bug reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugType label, something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions