Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 76035f6

Browse files
authoredMay 10, 2024··
[ISSUE #4873] Optimize some configuration information of HTTP Sink Connector (#4874)
1 parent 05b1f43 commit 76035f6

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed
 

‎eventmesh-connectors/eventmesh-connector-http/src/main/java/org/apache/eventmesh/connector/http/sink/config/HttpRetryConfig.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
@Data
2323
public class HttpRetryConfig {
24-
// maximum number of retries, default 3, minimum 0
25-
private int maxRetries = 3;
24+
// maximum number of retries, default 2, minimum 0
25+
private int maxRetries = 2;
2626

2727
// retry interval, default 2000ms
2828
private int interval = 2000;

‎eventmesh-connectors/eventmesh-connector-http/src/main/resources/sink-config.yml

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ connectorConfig:
2828
connectorName: httpSink
2929
urls:
3030
- http://127.0.0.1:8987/test
31-
ssl: false
3231
keepAlive: true
3332
keepAliveTimeout: 60000
3433
idleTimeout: 5000 # timeunit: ms, recommended scope: common(5s - 10s), webhook(15s - 60s)

‎eventmesh-connectors/eventmesh-connector-http/src/test/resources/sink-config.yml

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ connectorConfig:
2828
connectorName: httpSink
2929
urls:
3030
- http://127.0.0.1:8987/test
31-
ssl: false
3231
keepAlive: true
3332
keepAliveTimeout: 60000
3433
idleTimeout: 15000 # timeunit: ms, recommended scope: common(5s - 10s), webhook(15s - 60s)

0 commit comments

Comments
 (0)
Please sign in to comment.