V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Yjk
V2EX  ›  问与答

kafka 集群配置 外部服务器访问问题

  •  
  •   Yjk · Oct 25, 2019 · 2805 views
    This topic created in 2377 days ago, the information mentioned may be changed or developed.

    kafka 部署下专有云上, 连接 kafka 集群是本地连接, 已经做过端口的映射,本地 hosts 文件也已经做了相应的配置,但是本地项目启动的时候还是有问题,如下

    启动报错信息: [Consumer clientId=consumer-7, groupId=EEQQp2E1] Connection to node 2 (bdflink3/xxx.xx.xxx.xx:9092) could not be established. Broker may not be available.

    kafka server.properties 配置:

    broker.id=2 listeners=PLAINTEXT://bdflink3:9092 advertised.listeners=PLAINTEXT://bdflink3:9092 advertised.port=9092

    不清楚出错的原因在哪里,在网上找了很多帖子方法都试了,还是没有效果,有没有大佬能够指点下,万分感谢

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5123 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 09:45 · PVG 17:45 · LAX 02:45 · JFK 05:45
    ♥ Do have faith in what you're doing.