mysql-binlog-connector-java
mysql-binlog-connector-java copied to clipboard
ByteArrayInputStream has a performance problem
All readXxx methods of ByteArrayInputStream, Only a one byte read data from the BufferedSocketInputStream (BufferedSocketInputStream.read(byte [] b, int off, int len) has not used). When the binlog quantity is big, can cause 100% CPU utilization, through the Profiler analysis, 83% CPU on ByteArrayInputStream.readXxx() method.

The batch read methods in ByteArrayInputStream are not working (read and fill):

老哥 分享下优化后的版本?
这是来自QQ邮箱的自动回复邮件。 您好,您的邮件我已近收到,我尽快给您回复。