public static void waitForZKConnectionIfAuthenticating(ZooKeeperWatcher zkw)
            throws InterruptedException {
        if (isSecureZooKeeper()) {
            if (logger.isDebugEnabled()) {
                logger.debug("Waiting for ZooKeeperWatcher to authenticate");
            }
            zkw.saslLatchAwait();
            if (logger.isDebugEnabled()) {
                logger.debug("Done waiting.");
            }
        }
    }
Set data into node creating node if it doesn't yet exist. Does not set watch.

@param zkw   zk reference
@param zkNode path of node
@param data  data to set for node
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/zookeeper/ZKUtil.java