其他分享
首页 > 其他分享> > 使用Flink cdc connector时,如果将一个change-log的数据源中使用TIMESTAMP类型时报错

使用Flink cdc connector时,如果将一个change-log的数据源中使用TIMESTAMP类型时报错

作者:互联网

已付费购买专栏的朋友,请在申请查看权限时,备注你的CSDN名称才能通过查看权限,如果未购买,请先购买专栏,再申请查看权限。谢谢配合,谢谢理解。

报错如下:

11665 [debezium-engine] ERROR com.alibaba.ververica.cdc.debezium.DebeziumSourceFunction - Reporting error:
java.lang.IllegalArgumentException: Unable to convert to LocalDateTime from unexpected value '2020-08-31T12:18:45Z' of type java.lang.String
  at com.alibaba.ververica.cdc.debezium.utils.TemporalConversions.toLocalDateTime(TemporalConversions.java:187) ~[classes/:?]
  at com.alibaba.ververica.cdc.debezium.table.RowDataDebeziumDeserializeSchema.convertToTimestamp(RowDataDebeziumDeserializeSchema.java:287) ~[classes/:?]
  at com.alibaba.ververica.cdc.debezium.table.RowDataDebeziumDeserializeSchema.lambda$wrapIntoNullableConverter$7b91dc26$1(RowDataDebeziumDeserializeSchema.java:374) ~[classes/:?]
  at com.alibaba.ververica.cdc.debezium.table.RowDataDebeziumDeserializeSchema.convertField(RowDataDebeziumDeser

标签:java,log,cdc,数据源,ververica,alibaba,RowDataDebeziumDeserializeSchema,debezium
来源: https://blog.csdn.net/MissWYAN/article/details/122025597