Pasar al contenido principal
https://catalogartifact.azureedge.net/publicartifacts/pcloudhostingllc1770894336819.apachezookeeper122-48b5e95d-745c-4aeb-b34d-f0df655c3466/image3_pcloud.png

Apache ZooKeeper

por pcloudhosting

(1 clasificaciones)

Version 3.9.5 + Free with Support on Ubuntu 26.04

Apache ZooKeeper is an open-source distributed coordination service used by distributed applications for configuration management, synchronization, naming, leader election, and maintaining group services. It helps applications coordinate across multiple servers reliably and efficiently.

Version: Apache ZooKeeper 3.9.5

The solution supports common distributed system workflows including service coordination, configuration storage, distributed locks, cluster membership management, and leader election. It is ideal for microservices, big-data platforms, messaging systems, and cloud-native applications that require reliable coordination between multiple nodes.

Features of Apache ZooKeeper:

  • Open-source distributed coordination service.
  • Supports configuration management for distributed applications.
  • Provides leader election and group membership services.
  • Supports distributed synchronization and locking.
  • High availability through multi-node ensemble deployment.
  • Client-server architecture with CLI-based administration and testing.
  • Suitable for big-data, messaging, and microservices environments.

Usage instructions for Apache ZooKeeper
$ sudo su
$ systemctl status zookeeper
$ /opt/zookeeper/bin/zkServer.sh version
$ /opt/zookeeper/bin/zkServer.sh status
$ echo ruok | nc -w 2 127.0.0.1 2181
$ /opt/zookeeper/bin/zkCli.sh -server 127.0.0.1:2181

Expected test output:
imok

ZooKeeper CLI test:
create /test "hello"
get /test
set /test "hello-updated"
get /test
delete /test
quit

Port Details:

  • 2181 - ZooKeeper client connection port.
  • 8080 - ZooKeeper AdminServer HTTP port.
  • 2888 - Follower-to-leader communication port for ensemble setup.
  • 3888 - Leader election port for ensemble setup.
Access ZooKeeper:
Client connection: your-server-ip:2181
Admin server: http://your-server-ip:8080

Disclaimer: Apache ZooKeeper is provided “as is” under applicable open-source licenses. Users are responsible for proper configuration, secure network access, firewall rules, data backup, and validation before production use. This solution is best suited for distributed coordination, configuration management, synchronization, and leader election in development and production environments.