Skip to content

Commit 2c8ea3e

Browse files
authored
[ISSUE apache#4873] Optimize some configuration information of HTTP Sink Connector (apache#4874)
1 parent 6b0a4c0 commit 2c8ea3e

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

Diff for: 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;

Diff for: 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)

Diff for: 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)