You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [connect] Support auto create subGroup
Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>
* [connect] Use a unique instance name
Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>
Copy file name to clipboardExpand all lines: rocketmq-connect/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/config/ConnectConfig.java
+49-3Lines changed: 49 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,11 @@
24
24
*/
25
25
publicclassConnectConfig {
26
26
27
+
/**
28
+
* The unique ID of each worker instance in the cluster
29
+
*/
30
+
privateStringworkerId;
31
+
27
32
/**
28
33
* Storage directory for file store.
29
34
*/
@@ -109,6 +114,20 @@ public void setBrokerSuspendMaxTimeMillis(int brokerSuspendMaxTimeMillis) {
Copy file name to clipboardExpand all lines: rocketmq-connect/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/connectorwrapper/Worker.java
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -426,6 +426,9 @@ public void maintainTaskState() throws Exception {
Copy file name to clipboardExpand all lines: rocketmq-connect/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/service/ClusterManagementServiceImpl.java
Copy file name to clipboardExpand all lines: rocketmq-connect/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/service/ConfigManagementServiceImpl.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ public ConfigManagementServiceImpl(ConnectConfig connectConfig, Plugin plugin) {
Copy file name to clipboardExpand all lines: rocketmq-connect/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/service/OffsetManagementServiceImpl.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ public OffsetManagementServiceImpl(ConnectConfig connectConfig) {
Copy file name to clipboardExpand all lines: rocketmq-connect/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/service/PositionManagementServiceImpl.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ public PositionManagementServiceImpl(ConnectConfig connectConfig) {
Copy file name to clipboardExpand all lines: rocketmq-connect/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/utils/ConnectUtil.java
Copy file name to clipboardExpand all lines: rocketmq-connect/rocketmq-connect-runtime/src/main/java/org/apache/rocketmq/connect/runtime/utils/datasync/BrokerBasedLog.java
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,18 @@ public BrokerBasedLog(ConnectConfig connectConfig,
0 commit comments