1.2.1635. ext/zookeeper

Extension for Apache Zookeeper.

ZooKeeper is an Apache project that enables centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.

<?php
$zookeeper = new Zookeeper('locahost:2181');
$path = '/path/to/node';
$value = 'nodevalue';
$zookeeper->set($path, $value);

$r = $zookeeper->get($path);
if ($r)
  echo $r;
else
  echo 'ERR';
?>

See also ext/zookeeper, Install Zookeeper PHP Extension and Zookeeper.

1.2.1635.1. Specs

Short name

Extensions/Extzookeeper

Rulesets

All, Appinfo, CE, Changed Behavior

Exakat since

1.2.5

PHP Version

All

Severity

Minor

Time To Fix

Quick (30 mins)

Precision

Very high

Available in

Entreprise Edition, Community Edition, Exakat Cloud