public static boolean createEphemeralNodeAndWatch(ZooKeeperWatcher zkw,
            String zNode, byte[] data) throws KeeperException {
        return createEphemeralNodeAndWatch(zkw, zNode, data, CreateMode.EPHEMERAL);
    }
Set the specified zNode to be an ephemeral node carrying the specified
data.

If the node is created successfully, a watcher is also set on the node.

If the node is not created successfully because it already exists, this
method will also set a watcher on the node.

If there is another problem, a KeeperException will be thrown.

@param zkw
         zk reference
@param zNode
         path of node
@param data
         data of node
@return true if node created, false if not, watch set in both cases
@throws KeeperException
          if unexpected zookeeper exception
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/zookeeper/ZKUtil.java