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

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

  •  
  •   weiweiwitch · May 27, 2025 · 781 views
    This topic created in 335 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   ·   4658 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 01:03 · PVG 09:03 · LAX 18:03 · JFK 21:03
    ♥ Do have faith in what you're doing.