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

Kafka tool 连接外网(公有云)Kafka 服务器配置

  •  
  •   awalkingman · Sep 22, 2023 · 872 views
    This topic created in 952 days ago, the information mentioned may be changed or developed.

    连搜带试,今天终于用 GUI 客户端 Kafka tool 连上了云服务器上的 kafka 集群。 配置如下:

    1. properties tab 下的 zk host ,zk port 和 Advanced tab 下的 Bootstrap servers 填 kafka 对外暴露的地址,如 45.67.89.10:30000
    2. security tab 选择 SASL PlainText
    3. Advanced tab 下的 SASL Mechanism 填 PLAIN
    4. JAAS Config tab 下 填 org.apache.kafka.common.security.plain.PlainLoginModule required username = "你的用户名" password = "你的密码";
    5. 点击 test 验证一下连通性
    2 replies    2023-09-22 18:04:18 +08:00
    tairan2006
        1
    tairan2006  
       Sep 22, 2023
    你的 kafka 为啥要对外暴露,不怕安全隐患么
    awalkingman
        2
    awalkingman  
    OP
       Sep 22, 2023
    @tairan2006 需要账号密码,而且这个 kafka 我只有使用权,没有所有权😅
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2538 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 09:02 · PVG 17:02 · LAX 02:02 · JFK 05:02
    ♥ Do have faith in what you're doing.