Method | Description | |
---|---|---|
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. |
|
HandleStateChanged ( |
Called when the ZooKeeper connection state has changed. Do nothing, since zkclient will do reconnect for us. |
|
ZKSessionExpireListener ( |
public HandleSessionCreated ( |
||
args | The |
|
return | void |
public HandleStateChanged ( |
||
args | The |
|
return | void |
public ZKSessionExpireListener ( |
||
dirs | ||
consumerIdString | string | |
topicCount | ||
loadBalancerListener | ||
zkConsumerConnector | ||
return | System |