This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
zhenggm
/
smtweb2
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
canal集成
4.0
yaoq
2 years ago
parent
bcdcf21c5a
commit
cbeefa22c0
2 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
smtweb-framework/canal/client/src/main/java/cc/smtweb/system/canal/example/ClientInstance.java
+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
View File
@@ -318,7 +318,7 @@ public class ClientInstance {
}*/
}
file.createNewFile();
if (file.exists()) logger.debug("canal文件生成成功:" + file.get
Name
());
if (file.exists()) logger.debug("canal文件生成成功:" + file.get
AbsolutePath
());
return file;
}
+ 2
- 2
smtweb-framework/canal/client/src/main/resources/client.properties
View File
@@ -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=
Write
Preview
Loading…
Cancel
Save