Kafka\ZooKeeper::makeZkNode PHP Метод

makeZkNode() защищенный Метод

Create a node on ZooKeeper at the given path
protected makeZkNode ( string $path, mixed $value, $flag = null ) : boolean
$path string The path to the node
$value mixed The value to assign to the new node
Результат boolean
    protected function makeZkNode($path, $value, $flag = null)
    {
        $params = array(array('perms' => \Zookeeper::PERM_ALL, 'scheme' => 'world', 'id' => 'anyone'));
        return $this->zookeeper->create($path, $value, $params, $flag);
    }