Skip to content

Commit

Permalink
feature:Support_reconnect_backoff_interface
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgyqjj committed Sep 21, 2024
1 parent 6186f0d commit 5f3d1b0
Showing 1 changed file with 39 additions and 37 deletions.
76 changes: 39 additions & 37 deletions cim-client/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
@@ -1,37 +1,39 @@
spring:
application:
name: cim-client

# web port
server:
port: 8082

logging:
level:
root: error

# enable swagger
springdoc:
swagger-ui:
enabled: true

# log path
cim:
msg:
logger:
path: /opt/logs/cim/
route:
url: http://localhost:8083 # route url suggested that this is Nginx address
user: # cim userId and userName
id: 1725714450795
userName: cj4
callback:
thread:
queue:
size: 2
pool:
size: 2
heartbeat:
time: 60 # cim heartbeat time (seconds)
reconnect:
count: 3
spring:
application:
name: cim-client

# web port
server:
port: 8082

logging:
level:
root: error

# enable swagger
springdoc:
swagger-ui:
enabled: true

# log path
cim:
msg:
logger:
path: /opt/logs/cim/
route:
url: http://localhost:8083 # route url suggested that this is Nginx address
user: # cim userId and userName
id: 1725714450795
userName: cj4
callback:
thread:
queue:
size: 2
pool:
size: 2
heartbeat:
time: 60 # cim heartbeat time (seconds)
reconnect:
count: 3
backoff:
strategy: com.crossoverjie.cim.client.sdk.io.backoff.RandomBackoff

0 comments on commit 5f3d1b0

Please sign in to comment.