stackabletech/tokio-zookeeper

Support non-TCP connections and handshakes

Aperta

#8 aperta il 29 lug 2018

 (0 commenti) (0 reazioni) (0 assegnatari)Rust (22 fork)auto 404
help wanted

Metriche repository

Star
 (77 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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).

Guida contributor