fs2-kafka icon indicating copy to clipboard operation
fs2-kafka copied to clipboard

Connections stuck in TIME_WAIT when getting offsetRangeFor.

Open AdamChlupacek opened this issue 7 years ago • 0 comments

When using offsetRangeFor the connections to brokers do not close up properly and are stuck in the "TIME_WAIT" state, this can be seen in netstat. The connections do die out after while.

There are two connections that get stuck like this. One is when we try to find a leader for the given topicId and second one is the actual fetch of the offsetRange.

There may be other instances where the connections do not close up properly. As such we should check every place where we communicate with kafka.

AdamChlupacek avatar Nov 21 '17 16:11 AdamChlupacek