Building an asynchronous ZooKeeper client in Rust (part 3)
Channel: Jon Gjengset
Date: 2018-07-29

In this stream series, we're implementing an asynchronous ZooKeeper client library in Rust using the tokio crate and futures. The goal of this session is to implement the remaining ZooKeeper API custom watchers, and get_data/get_children, plus make the crate at least somewhat ready for release. Part 1 in the series can be found at https://www.youtube.com/watch?v=mMuk8Rn9HBg, and part 2 at https://www.youtube.com/watch?v=0-Fsu-aM0_A. This stream is primarily for those who want to learn about asynchronous programming in Rust, with a particular focus on asynchronous networking. It should be accessible for most intermediate Rust programmers though, and the goal is for us all to learn together! If you haven't seen Part 1 and Part 2, I highly recommend you do so first.

This video is intended for users who are already somewhat familiar with Rust, but who want to see something larger and more involved be built. You can see earlier related videos in this playlist: https://www.youtube.com/playlist?list=PLqbS7AVVErFgY2faCIYjJZv_RluGkTlKt.

If you enjoyed this, go follow me on Twitter, or on Patreon at https://www.patreon.com/jonhoo to see announcements for new videos! There will be several more videos that either cover new topics (see Twitter) or that complete ones we've started in the past (like async-ssh: https://www.youtube.com/watch?v=RBQwZthJjoM&list=PLqbS7AVVErFgY2faCIYjJZv_RluGkTlKt&index=4&t=0s)

The code we ended up with is available here: https://github.com/jonhoo/tokio-zookeeper

The original live-stream with chat is here: https://www.youtube.com/watch?v=LD4eWHbHrLI. I didn't use that as the main posting because YouTube won't let me cut the 15 minutes of blank at the beginning :'(