mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
add tablestore adapter (#3754)
* add tablestore adapter * add tablestore adapter * fix bug add add log when etl fail * fix bug,tinyint(1)以及rowupdatechange Co-authored-by: agapple <jianghang115@gmail.com>
This commit is contained in:
@@ -54,6 +54,8 @@ public class CanalClientConfig {
|
||||
// canal adapters 配置
|
||||
private List<CanalAdapter> canalAdapters;
|
||||
|
||||
private Boolean terminateOnException = false;
|
||||
|
||||
public String getCanalServerHost() {
|
||||
return canalServerHost;
|
||||
}
|
||||
@@ -222,6 +224,14 @@ public class CanalClientConfig {
|
||||
this.namespace = namespace;
|
||||
}
|
||||
|
||||
public Boolean getTerminateOnException() {
|
||||
return terminateOnException;
|
||||
}
|
||||
|
||||
public void setTerminateOnException(Boolean terminateOnException) {
|
||||
this.terminateOnException = terminateOnException;
|
||||
}
|
||||
|
||||
public static class CanalAdapter {
|
||||
|
||||
private String instance; // 实例名
|
||||
|
||||
Reference in New Issue
Block a user