stackabletech/tokio-zookeeper

Send connection events on global watcher stream

Open

#5 opened on Jul 29, 2018

 (0 comments) (0 reactions) (0 assignees)Rust (22 forks)auto 404
good first issuehelp wanted

Repository metrics

Stars
 (77 stars)
PR merge metrics
 (PR metrics pending)

Description

From Java docs:

When a client drops the current connection and re-connects to a server, all the existing watches are considered as being triggered but the undelivered events are lost. To emulate this, the client will generate a special event to tell the event handler a connection has been dropped. This special event has EventType None and KeeperState Disconnected.

Contributor guide