Pārlūkot izejas kodu

canal集成

4.0
yaoq pirms 2 gadiem
vecāks
revīzija
cbeefa22c0
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +1
    -1
      smtweb-framework/canal/client/src/main/java/cc/smtweb/system/canal/example/ClientInstance.java
  2. +2
    -2
      smtweb-framework/canal/client/src/main/resources/client.properties

+ 1
- 1
smtweb-framework/canal/client/src/main/java/cc/smtweb/system/canal/example/ClientInstance.java Parādīt failu

@@ -318,7 +318,7 @@ public class ClientInstance {
}*/
}
file.createNewFile();
if (file.exists()) logger.debug("canal文件生成成功:" + file.getName());
if (file.exists()) logger.debug("canal文件生成成功:" + file.getAbsolutePath());
return file;
}



+ 2
- 2
smtweb-framework/canal/client/src/main/resources/client.properties Parādīt failu

@@ -10,7 +10,7 @@ canal.server.username=
canal.server.password=
# 数据库匹配规则.*\\..*, scmz\\..*
canal.server.filter=scmz\\..*
# 文件存放路径
canal.file.path=E:/canalFile
# 文件存放路径 E:/canalFile
canal.file.path=



Notiek ielāde…
Atcelt
Saglabāt