maxwell
awangyuk
java程序员
展开
-
maxwell元数据问题
1.问题 "Couldn't find table xxx in xxxx 相关的schema问题 2.分析 2.1代码本身存在缺陷 saveSchema缺少savePosition 2.2DBA相关的操作 rename table `test`.`user` to `test`.user_bak; rename table dev.user to `test`.`user`; 在此场景下缺少schema的处理 解决方案 BinlogConnectorReplicator下针对捕获..原创 2022-02-28 16:21:14 · 358 阅读 · 1 评论 -
maxwell时间timestamp
DateFormatter.java public static String formatDateTime(Object value, Timestamp ts, Time needCheckCdtFirstTime,boolean isTimestamp) { Calendar cal; Integer hour = null; if ( value instanceof Long ) { cal = isTimestamp && !MaxwellCon.原创 2021-10-20 15:45:57 · 856 阅读 · 0 评论
分享