This is an automated email from the ASF dual-hosted git repository.

rong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 9ffef99a2ea Pipe: Make client-server the default setting of 
opc-ua-sink (#14979)
9ffef99a2ea is described below

commit 9ffef99a2eaa329da6f2c5d13f600cbae8151976
Author: Caideyipi <[email protected]>
AuthorDate: Fri Feb 28 10:24:52 2025 +0800

    Pipe: Make client-server the default setting of opc-ua-sink (#14979)
---
 .../pipe/agent/plugin/builtin/connector/opcda/OpcDaConnector.java       | 2 +-
 .../iotdb/commons/pipe/config/constant/PipeConnectorConstant.java       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/plugin/builtin/connector/opcda/OpcDaConnector.java
 
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/plugin/builtin/connector/opcda/OpcDaConnector.java
index 54e2a367fa2..44b27d2fe7b 100644
--- 
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/plugin/builtin/connector/opcda/OpcDaConnector.java
+++ 
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/plugin/builtin/connector/opcda/OpcDaConnector.java
@@ -26,7 +26,7 @@ import org.apache.iotdb.pipe.api.annotation.TreeModel;
  * This class is a placeholder and should not be initialized. It represents 
the OPC DA connector.
  * There is a real implementation in the server module but cannot be imported 
here. The pipe agent
  * in the server module will replace this class with the real implementation 
when initializing the
- * OPC UA connector.
+ * OPC DA connector.
  */
 @TreeModel
 public class OpcDaConnector extends PlaceholderConnector {}
diff --git 
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/config/constant/PipeConnectorConstant.java
 
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/config/constant/PipeConnectorConstant.java
index 7b1cac10837..b026aeadbc3 100644
--- 
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/config/constant/PipeConnectorConstant.java
+++ 
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/config/constant/PipeConnectorConstant.java
@@ -144,7 +144,7 @@ public class PipeConnectorConstant {
   public static final String CONNECTOR_OPC_UA_MODEL_CLIENT_SERVER_VALUE = 
"client-server";
   public static final String CONNECTOR_OPC_UA_MODEL_PUB_SUB_VALUE = "pub-sub";
   public static final String CONNECTOR_OPC_UA_MODEL_DEFAULT_VALUE =
-      CONNECTOR_OPC_UA_MODEL_PUB_SUB_VALUE;
+      CONNECTOR_OPC_UA_MODEL_CLIENT_SERVER_VALUE;
 
   public static final String CONNECTOR_OPC_UA_TCP_BIND_PORT_KEY = 
"connector.opcua.tcp.port";
   public static final String SINK_OPC_UA_TCP_BIND_PORT_KEY = 
"sink.opcua.tcp.port";

Reply via email to