6-12 - An error occurred when the ZK client was destroyed

Possible Reason

The connection between the client and the server has been refused When the client is being destroyed, the server may be performing elections or other operations, resulting in an exception.

Troubleshooting and resolution steps

The shutdown method can be used to query stack information. Generally do not deal with.