diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
index 7394710170..65e2c26039 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -95,7 +95,8 @@ body:
Which version of Dinky are you running? We only accept bugs report from the LTS projects.
options:
- dev
- - 0.6.3-SNAPSHOT
+ - 0.6.4
+ - 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
diff --git a/dlink-admin/pom.xml b/dlink-admin/pom.xml
index 40ab0957dc..3aa2ef5ade 100644
--- a/dlink-admin/pom.xml
+++ b/dlink-admin/pom.xml
@@ -5,7 +5,7 @@
dlink
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-alert/dlink-alert-base/pom.xml b/dlink-alert/dlink-alert-base/pom.xml
index a8752b5fc5..b68b0e3452 100644
--- a/dlink-alert/dlink-alert-base/pom.xml
+++ b/dlink-alert/dlink-alert-base/pom.xml
@@ -5,7 +5,7 @@
dlink-alert
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-alert/dlink-alert-dingtalk/pom.xml b/dlink-alert/dlink-alert-dingtalk/pom.xml
index 836076bb7e..d4f949efde 100644
--- a/dlink-alert/dlink-alert-dingtalk/pom.xml
+++ b/dlink-alert/dlink-alert-dingtalk/pom.xml
@@ -5,7 +5,7 @@
dlink-alert
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-alert/dlink-alert-email/pom.xml b/dlink-alert/dlink-alert-email/pom.xml
index bac6c051c1..5b4d72eaf1 100644
--- a/dlink-alert/dlink-alert-email/pom.xml
+++ b/dlink-alert/dlink-alert-email/pom.xml
@@ -5,7 +5,7 @@
dlink-alert
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
dlink-alert-email
diff --git a/dlink-alert/dlink-alert-feishu/pom.xml b/dlink-alert/dlink-alert-feishu/pom.xml
index e7b5b254c1..aaef61225d 100644
--- a/dlink-alert/dlink-alert-feishu/pom.xml
+++ b/dlink-alert/dlink-alert-feishu/pom.xml
@@ -5,7 +5,7 @@
dlink-alert
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
dlink-alert-feishu
diff --git a/dlink-alert/dlink-alert-wechat/pom.xml b/dlink-alert/dlink-alert-wechat/pom.xml
index 1820c89d3d..86991890e3 100644
--- a/dlink-alert/dlink-alert-wechat/pom.xml
+++ b/dlink-alert/dlink-alert-wechat/pom.xml
@@ -5,7 +5,7 @@
dlink-alert
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-alert/pom.xml b/dlink-alert/pom.xml
index 7ef3d09c4c..0e83e3ca68 100644
--- a/dlink-alert/pom.xml
+++ b/dlink-alert/pom.xml
@@ -5,7 +5,7 @@
dlink
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-app/dlink-app-1.11/pom.xml b/dlink-app/dlink-app-1.11/pom.xml
index 820a3bc710..876485f6a3 100644
--- a/dlink-app/dlink-app-1.11/pom.xml
+++ b/dlink-app/dlink-app-1.11/pom.xml
@@ -5,7 +5,7 @@
dlink-app
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-app/dlink-app-1.12/pom.xml b/dlink-app/dlink-app-1.12/pom.xml
index 2843cb80e7..6a2ac5e341 100644
--- a/dlink-app/dlink-app-1.12/pom.xml
+++ b/dlink-app/dlink-app-1.12/pom.xml
@@ -5,7 +5,7 @@
dlink-app
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-app/dlink-app-1.13/pom.xml b/dlink-app/dlink-app-1.13/pom.xml
index 19751b7c24..3767036a98 100644
--- a/dlink-app/dlink-app-1.13/pom.xml
+++ b/dlink-app/dlink-app-1.13/pom.xml
@@ -5,7 +5,7 @@
dlink-app
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-app/dlink-app-1.14/pom.xml b/dlink-app/dlink-app-1.14/pom.xml
index 0a9a98b278..fa90a7751e 100644
--- a/dlink-app/dlink-app-1.14/pom.xml
+++ b/dlink-app/dlink-app-1.14/pom.xml
@@ -5,7 +5,7 @@
dlink-app
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-app/dlink-app-1.15/pom.xml b/dlink-app/dlink-app-1.15/pom.xml
index eafbafc356..ad25a45147 100644
--- a/dlink-app/dlink-app-1.15/pom.xml
+++ b/dlink-app/dlink-app-1.15/pom.xml
@@ -5,7 +5,7 @@
dlink-app
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-app/dlink-app-base/pom.xml b/dlink-app/dlink-app-base/pom.xml
index 1a25dcba37..28f8724513 100644
--- a/dlink-app/dlink-app-base/pom.xml
+++ b/dlink-app/dlink-app-base/pom.xml
@@ -5,7 +5,7 @@
dlink-app
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-app/pom.xml b/dlink-app/pom.xml
index 79801cb471..59af48d421 100644
--- a/dlink-app/pom.xml
+++ b/dlink-app/pom.xml
@@ -5,7 +5,7 @@
dlink
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-assembly/pom.xml b/dlink-assembly/pom.xml
index 4ecb964491..6e96d55749 100644
--- a/dlink-assembly/pom.xml
+++ b/dlink-assembly/pom.xml
@@ -5,7 +5,7 @@
dlink
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-client/dlink-client-1.11/pom.xml b/dlink-client/dlink-client-1.11/pom.xml
index 62a82f3961..d238ed7a56 100644
--- a/dlink-client/dlink-client-1.11/pom.xml
+++ b/dlink-client/dlink-client-1.11/pom.xml
@@ -5,7 +5,7 @@
dlink-client
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-client/dlink-client-1.12/pom.xml b/dlink-client/dlink-client-1.12/pom.xml
index 10246300da..39abd698bf 100644
--- a/dlink-client/dlink-client-1.12/pom.xml
+++ b/dlink-client/dlink-client-1.12/pom.xml
@@ -5,7 +5,7 @@
dlink-client
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-client/dlink-client-1.13/pom.xml b/dlink-client/dlink-client-1.13/pom.xml
index eddd09a15c..abd5347795 100644
--- a/dlink-client/dlink-client-1.13/pom.xml
+++ b/dlink-client/dlink-client-1.13/pom.xml
@@ -5,7 +5,7 @@
dlink-client
com.dlink
- 0.6.4-SNAPSHOT
+ 0.6.4
4.0.0
diff --git a/dlink-client/dlink-client-1.13/src/main/java/com/dlink/cdc/mysql/MysqlCDCBuilder.java b/dlink-client/dlink-client-1.13/src/main/java/com/dlink/cdc/mysql/MysqlCDCBuilder.java
index 7a501d0c0b..fb045dc9c2 100644
--- a/dlink-client/dlink-client-1.13/src/main/java/com/dlink/cdc/mysql/MysqlCDCBuilder.java
+++ b/dlink-client/dlink-client-1.13/src/main/java/com/dlink/cdc/mysql/MysqlCDCBuilder.java
@@ -62,10 +62,22 @@ public DataStreamSource build(StreamExecutionEnvironment env) {
String connectionPoolSize = config.getSource().get("connection.pool.size");
String heartbeatInterval = config.getSource().get("heartbeat.interval");
- Properties properties = new Properties();
+ Properties debeziumProperties = new Properties();
+ // 为部分转换添加默认值
+ debeziumProperties.setProperty("bigint.unsigned.handling.mode","long");
+ debeziumProperties.setProperty("decimal.handling.mode","string");
+
for (Map.Entry entry : config.getDebezium().entrySet()) {
if (Asserts.isNotNullString(entry.getKey()) && Asserts.isNotNullString(entry.getValue())) {
- properties.setProperty(entry.getKey(), entry.getValue());
+ debeziumProperties.setProperty(entry.getKey(), entry.getValue());
+ }
+ }
+
+ // 添加jdbc参数注入
+ Properties jdbcProperties = new Properties();
+ for (Map.Entry entry : config.getJdbc().entrySet()) {
+ if (Asserts.isNotNullString(entry.getKey()) && Asserts.isNotNullString(entry.getValue())) {
+ jdbcProperties.setProperty(entry.getKey(), entry.getValue());
}
}
@@ -90,7 +102,8 @@ public DataStreamSource build(StreamExecutionEnvironment env) {
}
sourceBuilder.deserializer(new JsonDebeziumDeserializationSchema());
- sourceBuilder.debeziumProperties(properties);
+ sourceBuilder.debeziumProperties(debeziumProperties);
+ sourceBuilder.jdbcProperties(jdbcProperties);
if (Asserts.isNotNullString(config.getStartupMode())) {
switch (config.getStartupMode().toLowerCase()) {
diff --git a/dlink-client/dlink-client-1.13/src/main/java/com/dlink/cdc/sql/SQLSinkBuilder.java b/dlink-client/dlink-client-1.13/src/main/java/com/dlink/cdc/sql/SQLSinkBuilder.java
index c212bf2cb7..dcd12220bc 100644
--- a/dlink-client/dlink-client-1.13/src/main/java/com/dlink/cdc/sql/SQLSinkBuilder.java
+++ b/dlink-client/dlink-client-1.13/src/main/java/com/dlink/cdc/sql/SQLSinkBuilder.java
@@ -60,9 +60,9 @@ public void addSink(StreamExecutionEnvironment env, DataStream rowDataD
}
private DataStream buildRow(
- SingleOutputStreamOperator