• Home
  • Docker
  • Kubernetes
  • LLMs
  • Java
  • Ubuntu
  • Maven
  • Big Data
  • Archived
Apache ZooKeeper (3.9.3)
  1. Introduction
  2. ZooKeeper ensemble configuration
  3. Install and configure ZooKeeper
    1. Install and configure a ZooKeeper Standalone Server
    2. Install and configure a ZooKeeper Cluster on the same host
    3. Install and configure a ZooKeeper Cluster on different hosts
  4. Verify ZooKeeper Status
  5. HTTP administration interface (AdminServer)
  6. Command Line Utilities: "zkCli"
  7. Zookeeper - Super User
  8. Apache Curator Framework (5.4.0) (code samples)
    1. Maven dependencies
      1. Maven - POM Configuration
    2. CuratorFramework
      1. Create a new instance of the CuratorFramework [newClient]
      2. Create a facade on an existing CuratorFramework instance [usingNamespace]
    3. checkExists
      1. Check if a zNode exists
    4. getChildren
      1. List children of a zNode
    5. create
      1. Create a zNode
      2. Create a zNode with data
    6. create::creatingParentsIfNeeded
      1. Create a zNode and its parents
      2. Create a zNode and its parents with data
    7. setData
      1. Set the data of a zNode [setData]
      2. Set the data of a zNode with a specific data version [setData::withVersion]
    8. getData
      1. Print the data of a zNode
    9. ACL
      1. Set the ACL of a zNode [setACL]
      2. Print the ACL of a zNode [getACL]
    10. delete
      1. Delete a zNode
Annexes
  1. Unit tests: Apache Curator framework (TestingCluster)
References
  • Apache ZooKeeper Essentials
    Authors: Saurav Haloi
    Publisher: Packt Publishing (January 2015)
    ISBN: 978-1784391324
  • ZooKeeper Administrator's Guide
    http://zookeeper.apache.org/doc/current/zookeeperAdmin.html
    ZooKeeper Programmer's Guide
    http://zookeeper.apache.org/doc/current/zookeeperProgrammers.html
© 2025  mtitek