Details
Description
I connect to ZooKeeper server via zkCli.
I want to create a Znode using the following command:
// "-1" is data
set /seata/server.maxCommitRetryTimeout -1
However, it threw an exception as follows:
org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -1
I tried to use character " ( double-quote ) , ' ( single-quote ) or \ ( backslash ) to escape, but it still did NOT work.
I want to know, how should this special character be escaped in zookeeper?