Метод | Описание | |
---|---|---|
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 |
|
Результат | void |
public HandleStateChanged ( |
||
args | The |
|
Результат | void |
public ZKSessionExpireListener ( |
||
dirs | ||
consumerIdString | string | |
topicCount | ||
loadBalancerListener | ||
zkConsumerConnector | ||
Результат | System |