microsoft / CSharpClient-for-Kafka

.Net implementation of the Apache Kafka Protocol that provides basic functionality through Producer/Consumer classes. The project also offers balanced consumer implementation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZKSessionExpireListener - HandleStateChanged error in code

ofirzaibert opened this issue · comments

In ZKSessionExpireListener.cs - HandleStateChanged method the condition for the new state seems to be reversed.

The condition is "if (newState != Disconnected)" and then the code inside refers to the new state being a disconnected connection. The condition should be "if (newState == Disconnected)"

untitled