You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2015/02/06 07:49:34 UTC
[jira] [Created] (KAFKA-1925) Coordinator Node Id set to INT_MAX
breaks coordinator metadata updates
Guozhang Wang created KAFKA-1925:
------------------------------------
Summary: Coordinator Node Id set to INT_MAX breaks coordinator metadata updates
Key: KAFKA-1925
URL: https://issues.apache.org/jira/browse/KAFKA-1925
Project: Kafka
Issue Type: Sub-task
Reporter: Guozhang Wang
Assignee: Guozhang Wang
Priority: Critical
KafkaConsumer used INT_MAX to mimic a new socket for coordinator (details can be found in KAFKA-1760). However, this behavior breaks the coordinator as the underlying NetworkClient only used the node id to determine when to initiate a new connection:
{code}
if (connectionStates.canConnect(node.id(), now))
// if we are interested in sending to a node and we don't have a connection to it, initiate one
initiateConnect(node, now);
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)