Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐少华
midjourney-proxy
Commits
2f7df8de
Commit
2f7df8de
authored
Sep 05, 2018
by
songxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RabbitMQ 配置信息提交
parent
b79fb081
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
14 deletions
+33
-14
bootstrap.yml
pcloud-common-config/src/main/resources.prod/bootstrap.yml
+10
-5
bootstrap.yml
pcloud-common-config/src/main/resources.uat/bootstrap.yml
+10
-0
pom.xml
pcloud-common/pom.xml
+13
-9
No files found.
pcloud-common-config/src/main/resources.prod/bootstrap.yml
View file @
2f7df8de
...
@@ -23,10 +23,19 @@ spring:
...
@@ -23,10 +23,19 @@ spring:
sleuth
:
sleuth
:
sampler
:
sampler
:
percentage
:
0.02
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
:
data
:
solr
:
solr
:
zkHost
:
192.168.1.102:9983,192.168.1.102:8574
zkHost
:
192.168.1.102:9983,192.168.1.102:8574
redis
:
redis
:
cluster
:
cluster
:
nodes
:
nodes
:
...
@@ -39,7 +48,6 @@ redis:
...
@@ -39,7 +48,6 @@ redis:
-
192.168.1.167:7007
-
192.168.1.167:7007
-
192.168.1.168:7008
-
192.168.1.168:7008
-
192.168.1.169:7009
-
192.168.1.169:7009
eureka
:
eureka
:
client
:
client
:
service-url
:
service-url
:
...
@@ -52,11 +60,9 @@ eureka:
...
@@ -52,11 +60,9 @@ eureka:
a-s-g-name
:
${spring.application.name}
a-s-g-name
:
${spring.application.name}
metadata-map
:
metadata-map
:
cluster
:
${spring.application.name}
cluster
:
${spring.application.name}
management
:
management
:
security
:
security
:
enabled
:
false
enabled
:
false
ribbon
:
ribbon
:
ServerListRefreshInterval
:
5
ServerListRefreshInterval
:
5
OkToRetryOnAllOperations
:
true
OkToRetryOnAllOperations
:
true
...
@@ -64,7 +70,6 @@ ribbon:
...
@@ -64,7 +70,6 @@ ribbon:
MaxAutoRetries
:
0
MaxAutoRetries
:
0
ReadTimeout
:
60000
ReadTimeout
:
60000
ConnectTimeout
:
60000
ConnectTimeout
:
60000
hystrix
:
hystrix
:
command
:
command
:
default
:
default
:
...
...
pcloud-common-config/src/main/resources.uat/bootstrap.yml
View file @
2f7df8de
...
@@ -23,6 +23,16 @@ spring:
...
@@ -23,6 +23,16 @@ spring:
sleuth
:
sleuth
:
sampler
:
sampler
:
percentage
:
1
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
:
data
:
solr
:
solr
:
zkHost
:
192.168.89.13:9983,192.168.89.13:8574
zkHost
:
192.168.89.13:9983,192.168.89.13:8574
...
...
pcloud-common/pom.xml
View file @
2f7df8de
...
@@ -82,14 +82,18 @@
...
@@ -82,14 +82,18 @@
<groupId>
org.springframework.cloud
</groupId>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-sleuth
</artifactId>
<artifactId>
spring-cloud-starter-sleuth
</artifactId>
</dependency>
</dependency>
<!--<dependency>-->
<!--<dependency> -->
<!--<groupId>org.springframework.cloud</groupId>-->
<!--<groupId>org.springframework.cloud</groupId> -->
<!--<artifactId>spring-cloud-starter-hystrix</artifactId>-->
<!--<artifactId>spring-cloud-starter-hystrix</artifactId> -->
<!--</dependency>-->
<!--</dependency> -->
<!--<dependency>-->
<!--<dependency> -->
<!--<groupId>org.springframework.cloud</groupId>-->
<!--<groupId>org.springframework.cloud</groupId> -->
<!--<artifactId>spring-cloud-starter-hystrix-dashboard</artifactId>-->
<!--<artifactId>spring-cloud-starter-hystrix-dashboard</artifactId> -->
<!--</dependency>-->
<!--</dependency> -->
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-stream-rabbit
</artifactId>
</dependency>
<dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
<artifactId>
springfox-swagger2
</artifactId>
...
@@ -360,7 +364,7 @@
...
@@ -360,7 +364,7 @@
<version>
1.5.2
</version>
<version>
1.5.2
</version>
</dependency>
</dependency>
<!--PDF转图片
-->
<!--PDF转图片
-->
<dependency>
<dependency>
<groupId>
org.apache.pdfbox
</groupId>
<groupId>
org.apache.pdfbox
</groupId>
<artifactId>
pdfbox
</artifactId>
<artifactId>
pdfbox
</artifactId>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment