Description
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:
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);
Attachments
Attachments
Issue Links
- is related to
-
KAFKA-1935 Consumer should use a separate socket for Coordinator connection
- Open