stackabletech/tokio-zookeeper

Support non-TCP connections and handshakes

Ouverte

#8 ouverte le 29 juil. 2018

 (0 commentaire) (0 réaction) (0 personne assignée)Rust (22 forks)auto 404
help wanted

Métriques du dépôt

Stars
 (77 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur