-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
1.6.0.Final
-
None
-
False
-
False
-
Undefined
-
-
I have a task where I try to synchronize 2 tables but unfortunately I am getting the below exception. If I try with other tables from the same database I don't have any issues.
{{Trace: org.apache.kafka.connect.errors.ConnectException: An
exception occurred in the change event producer. This connector will be
stopped.
at
io.debezium.pipeline.ErrorHandler.setProducerThrowable(ErrorHandler.java:42)
at
io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:130)
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: io.debezium.DebeziumException: java.lang.RuntimeException:
Invalid length when read MySQL DATE value. BIN_LEN_DATE is 0
at
io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.execute(AbstractSnapshotChangeEventSource.java:78)
at
io.debezium.pipeline.ChangeEventSourceCoordinator.lambda$start$0(ChangeEventSourceCoordinator.java:113)
... 5 more
Caused by: java.lang.RuntimeException: Invalid length when read MySQL
DATE value. BIN_LEN_DATE is 0
at
io.debezium.connector.mysql.MysqlBinaryProtocolFieldReader.readDateField(MysqlBinaryProtocolFieldReader.java:63)
at
io.debezium.connector.mysql.AbstractMysqlFieldReader.readField(AbstractMysqlFieldReader.java:33)
at
io.debezium.connector.mysql.MySqlConnection.getColumnValue(MySqlConnection.java:571)
at
io.debezium.jdbc.JdbcConnection.rowToArray(JdbcConnection.java:1470)
at
io.debezium.relational.RelationalSnapshotChangeEventSource.createDataEventsForTable(RelationalSnapshotChangeEventSource.java:355)
at
io.debezium.relational.RelationalSnapshotChangeEventSource.createDataEvents(RelationalSnapshotChangeEventSource.java:306)
at
io.debezium.relational.RelationalSnapshotChangeEventSource.doExecute(RelationalSnapshotChangeEventSource.java:136)
at
io.debezium.pipeline.source.AbstractSnapshotChangeEventSource.execute(AbstractSnapshotChangeEventSource.java:69)}}
{{}}
- duplicates
-
DBZ-3773 Crash when processing MySQL 5.7.28 TIME fields returns empty blob instead of null
- Closed