Commit 2f7df8de by songxiang

RabbitMQ 配置信息提交

parent b79fb081
......@@ -23,23 +23,31 @@ spring:
sleuth:
sampler:
percentage: 0.02
rabbitmq:
addresses: 192.168.1.191:5673,192.168.1.192:5673,192.168.1.193:5673
username: pcloud
password: pcloud
listener:
retry:
max-attempts: 3 # 最大重试次数
enabled: true # 是否开启消费者重试(为false时关闭消费者重试,这时消费端代码异常会一直重复收到消息)
initial-interval: 5000 # 重试间隔时间(单位毫秒)
default-requeue-rejected: true # 重试次数超过上面的设置之后是否丢弃(false不丢弃时需要写相应代码将该消息加入死信队列)
data:
solr:
zkHost: 192.168.1.102:9983,192.168.1.102:8574
redis:
cluster:
nodes:
- 192.168.1.161:7001
- 192.168.1.162:7002
- 192.168.1.163:7003
- 192.168.1.164:7004
- 192.168.1.165:7005
- 192.168.1.166:7006
- 192.168.1.167:7007
- 192.168.1.168:7008
- 192.168.1.169:7009
- 192.168.1.161:7001
- 192.168.1.162:7002
- 192.168.1.163:7003
- 192.168.1.164:7004
- 192.168.1.165:7005
- 192.168.1.166:7006
- 192.168.1.167:7007
- 192.168.1.168:7008
- 192.168.1.169:7009
eureka:
client:
service-url:
......@@ -52,11 +60,9 @@ eureka:
a-s-g-name: ${spring.application.name}
metadata-map:
cluster: ${spring.application.name}
management:
security:
enabled: false
ribbon:
ServerListRefreshInterval: 5
OkToRetryOnAllOperations: true
......@@ -64,7 +70,6 @@ ribbon:
MaxAutoRetries: 0
ReadTimeout: 60000
ConnectTimeout: 60000
hystrix:
command:
default:
......
......@@ -23,6 +23,16 @@ spring:
sleuth:
sampler:
percentage: 1
rabbitmq:
addresses: 192.168.92.56:5673,192.168.92.57:5673,192.168.92.58:5673
username: pcloud
password: pcloud
listener:
retry:
max-attempts: 3 # 最大重试次数
enabled: true # 是否开启消费者重试(为false时关闭消费者重试,这时消费端代码异常会一直重复收到消息)
initial-interval: 5000 # 重试间隔时间(单位毫秒)
default-requeue-rejected: true # 重试次数超过上面的设置之后是否丢弃(false不丢弃时需要写相应代码将该消息加入死信队列)
data:
solr:
zkHost: 192.168.89.13:9983,192.168.89.13:8574
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment