MariaDB binlog compression
akhawatrahTW opened this issue · 0 comments
akhawatrahTW commented
Hi,
Trying mysql-binlog-connector 0.21.0 against mariadb. Whenever binlog compression is enabled, it throws java.io.IOException: Unknown event type
.
I found an old issue (#77) where the answer was that mysql-binlog-connector does not support binlog compression. Not sure if this is still the case!
Following is how one of the events look (retreived using mysqlbinlog):
Event{
header=EventHeaderV4{
timestamp=1592003319000,
eventType=QUERY,
serverId=5,
headerLength=19,
dataLength=280,
nextPosition=753402908,
flags=8
},
data=QueryEventData{
threadId=0,
executionTime=0,
errorCode=0,
database='',
sql='# Dummy event replacing event type 160 that slave cannot handle. '
}
}