Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MariaDB binlog compression #325

Open
akhawatrahTW opened this issue Jun 17, 2020 · 0 comments
Open

MariaDB binlog compression #325

akhawatrahTW opened this issue Jun 17, 2020 · 0 comments

Comments

@akhawatrahTW
Copy link

akhawatrahTW commented Jun 17, 2020

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.                                                                                                                                                                                                      '
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant