mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
修改yml配置读取绑定,遵循spring yml加载方式,支持environment级占位符替换
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.alibaba.otter.canal.client.adapter.logger;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Properties;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
@@ -25,7 +26,7 @@ public class LoggerAdapterExample implements OuterAdapter {
|
||||
private Logger logger = LoggerFactory.getLogger(this.getClass());
|
||||
|
||||
@Override
|
||||
public void init(OuterAdapterConfig configuration) {
|
||||
public void init(OuterAdapterConfig configuration, Properties envProperties) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user