![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
同步
speed-snail
不要去追一匹马, 用追马的时间种草, 待到春暖花开时, 会有一群骏马任你挑选; 不要去刻意巴结一个人, 用巴结别人的时间, 提升自己的能力, 待到时机成熟时, 会有一大批志同道合的朋友与你同行。 种下梧桐树, 引来金凤凰。 你若盛开,蝴蝶自来。
展开
-
文件监听同步(watchservice)
watchservice private void startCatalogWatcher(File catalogConfigurationDir) throws IOException, InterruptedException { WatchService watchService = FileSystems.getDefault().newWatchService(...原创 2020-01-15 15:52:17 · 307 阅读 · 0 评论 -
文件监听同步(canal 搭建)
参考文档 https://github.com/alibaba/canal/wiki/QuickStart mysql开启bin-log日志 log_bin = /var/lib/mysql/bin-log skip-name-resolve binlog-format=ROW 创建canal对象 CREATE USER canal IDENTIFIED BY 'canal'; GRANT...原创 2020-01-15 14:00:12 · 955 阅读 · 0 评论