weiweiwitch
V2EX  ›  问与答

Windows 11 上, Kafka 客户端每次连接 Kafka,有很大几率卡在 Inet6AddressImpl 的 native 方法 getHostByAddr 上 5 秒

  •  
  •   weiweiwitch · May 27, 2025 · 859 views
    This topic created in 366 days ago, the information mentioned may be changed or developed.
    DNS 服务器上,已经配置了 IP 对应的域名。然后 wireshark 抓包下来,也能看出 DNS 对 PTR 请求,基本秒回。

    网卡上禁用 IPv6 也没有作用。

    虽然可以在 hosts 文件中配置死,但是这样太麻烦了,而且并没有找到 getHostByAddr 卡死 5 秒的原因。

    有没有大佬能告知下原因?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1244 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 23:39 · PVG 07:39 · LAX 16:39 · JFK 19:39
    ♥ Do have faith in what you're doing.