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

java.io.IOException: Unknown event type 40 #332

Open
v0112358 opened this issue Oct 19, 2020 · 0 comments
Open

java.io.IOException: Unknown event type 40 #332

v0112358 opened this issue Oct 19, 2020 · 0 comments

Comments

@v0112358
Copy link

Please add new MySQL replication event type TRANSACTION_PAYLOAD_EVENT. This event type had been added since MySQL 8.0.20.

my.cnf

binlog_transaction_compression_level_zstd = 3
binlog_transaction_compression = 1

MySQL source code: https://github.com/mysql/mysql-server/blob/mysql-8.0.21/libbinlogevents/include/binlog_event.h#L348

Error log:

DEBUG A deserialization failure event arrived (io.debezium.connector.mysql.BinlogReader)
java.io.IOException: Unknown event type 40
	at com.github.shyiko.mysql.binlog.event.deserialization.EventHeaderV4Deserializer.getEventType(EventHeaderV4Deserializer.java:45)
	at com.github.shyiko.mysql.binlog.event.deserialization.EventHeaderV4Deserializer.deserialize(EventHeaderV4Deserializer.java:35)
	at com.github.shyiko.mysql.binlog.event.deserialization.EventHeaderV4Deserializer.deserialize(EventHeaderV4Deserializer.java:27)
	at com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer.nextEvent(EventDeserializer.java:213)
	at io.debezium.connector.mysql.BinlogReader$1.nextEvent(BinlogReader.java:249)
	at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:930)
	at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:594)
	at com.github.shyiko.mysql.binlog.BinaryLogClient$7.run(BinaryLogClient.java:838)
	at java.lang.Thread.run(Thread.java:748)

Thanks,

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