添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
礼貌的啄木鸟  ·  Using the Maven SCM ...·  7 小时前    · 
忐忑的柚子  ·  Apache Maven SCM ...·  7 小时前    · 
冷静的山寨机  ·  GitHub - ...·  7 小时前    · 
帅气的面包  ·  Caused by: ...·  3 天前    · 
英姿勃勃的菠萝  ·  HCL ...·  4 天前    · 
沉着的熊猫  ·  Installation — MMPose ...·  1 月前    · 
慷慨的抽屉  ·  扫盲系列 - ...·  5 月前    · 
酷酷的火龙果  ·  麻酥酥哟 – ...·  8 月前    · 

Description

When a client bootstrap uses a valid host but an incorrect port, the java clients will never fail but instead loop forever trying to fetch metadata. A sample debug log of the consumer is:

[2016-03-25 11:37:39,880] DEBUG Initialize connection to node -1 for sending metadata request (org.apache.kafka.clients.NetworkClient:629)
[2016-03-25 11:37:39,880] DEBUG Initiating connection to node -1 at localhost:9999. (org.apache.kafka.clients.NetworkClient:492)
[2016-03-25 11:37:39,881] DEBUG Node -1 disconnected. (org.apache.kafka.clients.NetworkClient:459)
[2016-03-25 11:37:39,881] DEBUG Give up sending metadata request since no node is available (org.apache.kafka.clients.NetworkClient:614)
[2016-03-25 11:37:39,983] DEBUG Initialize connection to node -1 for sending metadata request (org.apache.kafka.clients.NetworkClient:629)
[2016-03-25 11:37:39,983] DEBUG Initiating connection to node -1 at localhost:9999. (org.apache.kafka.clients.NetworkClient:492)
[2016-03-25 11:37:39,984] DEBUG Node -1 disconnected. (org.apache.kafka.clients.NetworkClient:459)
[2016-03-25 11:37:39,985] DEBUG Give up sending metadata request since no node is available (org.apache.kafka.clients.NetworkClient:614)
[2016-03-25 11:37:40,090] DEBUG Initialize connection to node -1 for sending metadata request (org.apache.kafka.clients.NetworkClient:629)
[2016-03-25 11:37:40,090] DEBUG Initiating connection to node -1 at localhost:9999. (org.apache.kafka.clients.NetworkClient:492)
[2016-03-25 11:37:40,091] DEBUG Node -1 disconnected. (org.apache.kafka.clients.NetworkClient:459)
[2016-03-25 11:37:40,091] DEBUG Give up sending metadata request since no node is available (org.apache.kafka.clients.NetworkClient:614)