Hi :wave: We are using Flink CDC MySQL 3.6 and fac...
# flink-cdc
i
Hi 👋 We are using Flink CDC MySQL 3.6 and facing serialization issues caused by:
io.debezium.DebeziumException: Failed to deserialize data of EventHeaderV4
. We have several MySQL consumers working perfectly with Flink CDC, but one specific consumer refuses to work. We've tried various troubleshooting steps, including the official Flink recommended configurations for this issue, but haven't had any success. Has anyone run into this or found a fix?
l
hi, could you offer a more specific stacktrace?
i
yes, of course:
the main error is this:
Copy code
caused by java.io.EOFException: Failed to read remaining 2 of 59 bytes from position 800358194. Block length: 4381. Initial block length: 8031.

           com.github.shyiko.mysql.binlog.io.ByteArrayInputStream.fill(ByteArrayInputStream.java:115)
             com.github.shyiko.mysql.binlog.io.ByteArrayInputStream.read(ByteArrayInputStream.java:105)
            io.debezium.connector.mysql.RowDeserializers.deserializeVarString(RowDeserializers.java:264)
…connector.mysql.RowDeserializers$UpdateRowsDeserializer.deserializeVarString(RowDeserializers.java:
we already checked all the columns, and the order is correct , the data type....
the only thing weird that we saw if we compare with other tables/database is that this was using utf3, but we changed it and the error continue going on.