stackabletech/tokio-zookeeper

Support non-TCP connections and handshakes

Open

#8 opened on Jul 29, 2018

 (0 comments) (0 reactions) (0 assignees)Rust (22 forks)auto 404
help wanted

Repository metrics

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

Description

Packetizer is fully generic over the underlying transport. However, ZooKeeper is not (it requires tokio::net::TcpStream for connect). We should use the ZooKeeperTransport trait to bring all network connectivity things into Packetizer::new (including the handshake, which can then be reused for session re-establishment).

Contributor guide