mysql-binlog-connector-java icon indicating copy to clipboard operation
mysql-binlog-connector-java copied to clipboard

binlog-connector should hang up on MySQL gracefully

Open epkugelmass opened this issue 6 years ago • 0 comments

The current implementation of BinaryLogClient::disconnect closes the underlying socket with only a TCP RST packet. To release any resources allocated on the server, the client should send COM_QUIT (MySQL protocol).

This was considered at some level before (https://github.com/shyiko/mysql-binlog-connector-java/issues/72) but I'm not sure why it was not implemented.

epkugelmass avatar Jul 25 '19 00:07 epkugelmass