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

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


The following commit(s) were added to refs/heads/master by this push:
     new 76035f657 [ISSUE #4873] Optimize some configuration information of 
HTTP Sink Connector (#4874)
76035f657 is described below

commit 76035f6573ce10ed937b0678c0cdf259466c6836
Author: Zaki <[email protected]>
AuthorDate: Fri May 10 14:28:35 2024 +0800

    [ISSUE #4873] Optimize some configuration information of HTTP Sink 
Connector (#4874)
---
 .../apache/eventmesh/connector/http/sink/config/HttpRetryConfig.java  | 4 ++--
 .../eventmesh-connector-http/src/main/resources/sink-config.yml       | 1 -
 .../eventmesh-connector-http/src/test/resources/sink-config.yml       | 1 -
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git 
a/eventmesh-connectors/eventmesh-connector-http/src/main/java/org/apache/eventmesh/connector/http/sink/config/HttpRetryConfig.java
 
b/eventmesh-connectors/eventmesh-connector-http/src/main/java/org/apache/eventmesh/connector/http/sink/config/HttpRetryConfig.java
index cf6d5adcb..0bceac7d4 100644
--- 
a/eventmesh-connectors/eventmesh-connector-http/src/main/java/org/apache/eventmesh/connector/http/sink/config/HttpRetryConfig.java
+++ 
b/eventmesh-connectors/eventmesh-connector-http/src/main/java/org/apache/eventmesh/connector/http/sink/config/HttpRetryConfig.java
@@ -21,8 +21,8 @@ import lombok.Data;
 
 @Data
 public class HttpRetryConfig {
-    // maximum number of retries, default 3, minimum 0
-    private int maxRetries = 3;
+    // maximum number of retries, default 2, minimum 0
+    private int maxRetries = 2;
 
     // retry interval, default 2000ms
     private int interval = 2000;
diff --git 
a/eventmesh-connectors/eventmesh-connector-http/src/main/resources/sink-config.yml
 
b/eventmesh-connectors/eventmesh-connector-http/src/main/resources/sink-config.yml
index f740cf7cd..510352545 100644
--- 
a/eventmesh-connectors/eventmesh-connector-http/src/main/resources/sink-config.yml
+++ 
b/eventmesh-connectors/eventmesh-connector-http/src/main/resources/sink-config.yml
@@ -28,7 +28,6 @@ connectorConfig:
   connectorName: httpSink
   urls:
    - http://127.0.0.1:8987/test
-  ssl: false
   keepAlive: true
   keepAliveTimeout: 60000
   idleTimeout: 5000   # timeunit: ms, recommended scope: common(5s - 10s), 
webhook(15s - 60s)
diff --git 
a/eventmesh-connectors/eventmesh-connector-http/src/test/resources/sink-config.yml
 
b/eventmesh-connectors/eventmesh-connector-http/src/test/resources/sink-config.yml
index 149ad7681..3ea423879 100644
--- 
a/eventmesh-connectors/eventmesh-connector-http/src/test/resources/sink-config.yml
+++ 
b/eventmesh-connectors/eventmesh-connector-http/src/test/resources/sink-config.yml
@@ -28,7 +28,6 @@ connectorConfig:
   connectorName: httpSink
   urls:
     - http://127.0.0.1:8987/test
-  ssl: false
   keepAlive: true
   keepAliveTimeout: 60000
   idleTimeout: 15000   # timeunit: ms, recommended scope: common(5s - 10s), 
webhook(15s - 60s)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to