Kafka.Client.ZooKeeperIntegration.Listeners.BrokerTopicsListener.ResetState C# (CSharp) Method

ResetState() public method

Resets the state of listener.
public ResetState ( ) : void
return void
        public void ResetState()
        {
            Logger.Debug("Before reseting broker topic partitions state -> "
                + this.oldBrokerTopicsPartitionsMap.ToMultiString(
                x => x.Key + " --> " + x.Value.ToMultiString(y => y.ToString(), ","), "; "));
            this.oldBrokerTopicsPartitionsMap = actualBrokerTopicsPartitionsMap;
            Logger.Debug("After reseting broker topic partitions state -> "
                + this.oldBrokerTopicsPartitionsMap.ToMultiString(
                x => x.Key + " --> " + x.Value.ToMultiString(y => y.ToString(), ","), "; "));
            Logger.Debug("Before reseting broker id map state -> "
                + this.oldBrokerIdMap.ToMultiString(", "));
            this.oldBrokerIdMap = this.actualBrokerIdMap;
            Logger.Debug("After reseting broker id map state -> "
                + this.oldBrokerIdMap.ToMultiString(", "));
        }