How to set enableRpcCompression when TProtocolException error occured after trying to connect Apache IoTDB server?

Viewed 7

When connecting to IoTDB server, the server prompts this: TProtocolException: Bad version in readMessageBegin. I checked the client version of Thrift, and the client and server are the same version as required. I also checked the user guide, and noticed that this problem is related to enableRpcCompression should be set to true. I now want to test IoTDB with start-cli.bat, but I don't know how to set RpcCompression paremeter in start-cli.bat? ? I tried setting -c to true and false, but the problem remains in both cases. The version I use is 0.13.0.

0 Answers
Related