C# 클래스 Kafka.Client.ZooKeeperIntegration.Listeners.ZKSessionExpireListener

상속: IZooKeeperStateListener
파일 보기 프로젝트 열기: precog/kafka

공개 메소드들

메소드 설명
HandleSessionCreated ( ZooKeeperSessionCreatedEventArgs args ) : void

Called after the ZooKeeper session has expired and a new session has been created.

You would have to re-create any ephemeral nodes here. Explicitly trigger load balancing for this consumer.

HandleStateChanged ( ZooKeeperStateChangedEventArgs args ) : void

Called when the ZooKeeper connection state has changed.

Do nothing, since zkclient will do reconnect for us.

ZKSessionExpireListener ( ZKGroupDirs dirs, string consumerIdString, TopicCount topicCount, ZKRebalancerListener loadBalancerListener, ZookeeperConsumerConnector zkConsumerConnector ) : System

메소드 상세

HandleSessionCreated() 공개 메소드

Called after the ZooKeeper session has expired and a new session has been created.
You would have to re-create any ephemeral nodes here. Explicitly trigger load balancing for this consumer.
public HandleSessionCreated ( ZooKeeperSessionCreatedEventArgs args ) : void
args Kafka.Client.ZooKeeperIntegration.Events.ZooKeeperSessionCreatedEventArgs The instance containing the event data.
리턴 void

HandleStateChanged() 공개 메소드

Called when the ZooKeeper connection state has changed.
Do nothing, since zkclient will do reconnect for us.
public HandleStateChanged ( ZooKeeperStateChangedEventArgs args ) : void
args Kafka.Client.ZooKeeperIntegration.Events.ZooKeeperStateChangedEventArgs The instance containing the event data.
리턴 void

ZKSessionExpireListener() 공개 메소드

public ZKSessionExpireListener ( ZKGroupDirs dirs, string consumerIdString, TopicCount topicCount, ZKRebalancerListener loadBalancerListener, ZookeeperConsumerConnector zkConsumerConnector ) : System
dirs Kafka.Client.Utils.ZKGroupDirs
consumerIdString string
topicCount Kafka.Client.Consumers.TopicCount
loadBalancerListener ZKRebalancerListener
zkConsumerConnector Kafka.Client.Consumers.ZookeeperConsumerConnector
리턴 System