Skip to content

Commit 3bc3acf

Browse files
author
dujie
committed
feat 29315bug解决 并增加filter table相关信息日志打印
1 parent cfc9d08 commit 3bc3acf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flinkx-binlog/flinkx-binlog-reader/src/main/java/com/dtstack/flinkx/binlog/reader/BinlogInputFormat.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public void openInputFormat() throws IOException {
9898
super.openInputFormat();
9999

100100
LOG.info("binlog configure...");
101+
LOG.info("binlog FilterBefore:{},tableBefore: {}",binlogConfig.getFilter(),binlogConfig.getTable());
101102

102103
if (StringUtils.isNotEmpty(binlogConfig.getCat())) {
103104
LOG.info("{}", categories);
@@ -150,6 +151,7 @@ public void openInputFormat() throws IOException {
150151
//检验schema下任意一张表的权限
151152
checkSourceAuthority(database, null);
152153
}
154+
LOG.info("binlog FilterAfter:{},tableAfter: {}",binlogConfig.getFilter(),binlogConfig.getTable());
153155
}
154156
}
155157

@@ -210,6 +212,7 @@ protected void openInternal(InputSplit inputSplit) throws IOException {
210212
}
211213

212214
if (StringUtils.isNotEmpty(binlogConfig.getFilter())) {
215+
LOG.info("binlogFilter最终值:{}",binlogConfig.getFilter());
213216
controller.setEventFilter(new AviaterRegexFilter(binlogConfig.getFilter()));
214217
}
215218

0 commit comments

Comments
 (0)