30 lines
819 B
YAML
30 lines
819 B
YAML
spring:
|
|
profiles:
|
|
active: dev
|
|
redis:
|
|
host: 10.100.1.2
|
|
port: 6379
|
|
password:
|
|
application:
|
|
name: parseSystem
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://117.72.43.22:4000/test1?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8
|
|
username: root
|
|
password: 123456
|
|
rabbitmq:
|
|
host: 182.254.222.21
|
|
port: 5672
|
|
template:
|
|
mandatory: true
|
|
listener:
|
|
simple:
|
|
prefetch: 1 # 每次取一条消息消费 消费完成取下一条
|
|
acknowledge-mode: manual # 设置消费端手动ack确认
|
|
retry:
|
|
enabled: true # 支持重试
|
|
publisher-confirms: true #确认消息已发送到交换机(Exchange)
|
|
publisher-returns: true #确认消息已发送到队列(Queue)
|
|
server:
|
|
port: 8068
|