wait

zk wait

Sets a watch on the node and then waits for an event to fire.

  1. zk wait <path> [flags]

Examples

  1. # Wait for node change or creation.
  2. zk wait /zk/path
  3. # Trailing slash waits on children.
  4. zk wait /zk/path/children/

Options

  1. -e, --exit exit if the path already exists
  2. -h, --help help for wait

SEE ALSO

  • zk - zk is a tool for wrangling zookeeper.