This is a video about Distributed queue using zookeeper. In this video, we leverage the capability of zookeeper to create sequential nodes. The sequential nodes are assigned the path in increasing order like, Item-0, Item-1, Item-2 etc. This helps in maintaining the order in the queue. The video also covers multiple consumers consuming the data by using the distributed locks (again implemented using zookeeper).
Github link to the code : https://github.com/anshriva/zookeeper/tree/main/recipe/queue
00:00 Intro
00:54 Design
04:15 Locks
06:28 No lock queue
11:37 Lock queue
14:50 Summary