-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.properties
47 lines (37 loc) · 1.43 KB
/
application.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#spring.cloud.config.uri=http://192.168.80.151:8888
#spring.cloud.config.username=config
#spring.cloud.config.password=synnex123
endpoints.sensitive=true
endpoints.jmx.enabled=false
#eureka.client.serviceUrl.fetch-registry=true
#eureka.client.serviceUrl.region=us-east-1
#eureka.client.serviceUrl.enabled=true
#eureka.client.serviceUrl.register-with-eureka=true
#eureka.client.registerWithEureka=true
#eureka.client.fetchRegistry=true
#eureka.client.serviceUrl.defaultZone=http://registry:[email protected]:8761/eureka
eureka.server.leaseRenewalIntervalInSeconds=10
eureka.server.leaseExpirationDurationInSeconds=5
eureka.server.enableSelfPreservation=true
eureka.instance.metadata-map.cluster=MAIN
eureka.instance.leaseRenewalIntervalInSeconds=10
eureka.instance.statusPageUrlPath=/info
eureka.instance.healthCheckUrlPath=/health
spring.redis.host=192.168.83.18
spring.redis.port=6379
spring.redis.database=3
spring.redis.timeout=5000
ribbon.*.MaxAutoRetries=5
ribbon.*.MaxAutoRetriesNextServer=5
ribbon.*.OkToRetryOnAllOperations=true
ribbon.*.ReadTimeout=20000
ribbon.*.ConnectTimeout=20000
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds= 10000
#message stream config
#spring.rabbitmq.host=192.168.80.149
#spring.rabbitmq.virtualHost=/cloudbus
#spring.rabbitmq.port=5672
#spring.rabbitmq.username=synnexbus
#spring.rabbitmq.password=synnex123
# should collect 20% requests log
spring.sleuth.sampler.percentage = 0.2