- 配置阿里云安全组规则 出端口入端口都要打开
- 配置/etc/hosts 添加内网ip和ipName(可能也要加公网ip)
172.18.10.10 HostName - 配置kafka的server.properties
listeners=PLAINTEXT://0.0.0.0:9092
advertised.listeners=PLAINTEXT://120.78.22.22:9092
advertised.host.name=HostName
2024-02-03 08:49:22
listeners=PLAINTEXT://0.0.0.0:9092
advertised.listeners=PLAINTEXT://120.78.22.22:9092
advertised.host.name=HostName