smart-cloud-server/zhilian-modules/zhilian-resolver/src/main/resources/bootstrap.yml

57 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Tomcat
server:
port: 9902
# Spring
spring:
redis:
host: 10.10.25.3
port: 6379
password: fffdev
application:
# 应用名称
name: zhilian-resolver
profiles:
# 环境配置
active: dev
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 10.10.25.2:8848
namespace: 9d9e22dc-ff70-42c5-adac-fa69e6d62dbe
config:
# 配置中心地址
server-addr: 10.10.25.2:8848
namespace: 9d9e22dc-ff70-42c5-adac-fa69e6d62dbe
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
es:
host: 111.229.33.194
port: 9200
scheme: http
rabbitmq:
host: 111.229.33.194
port: 5672
# 开启发送端消息抵达Broker确认
publisher-confirms: true
# 开启发送端消息抵达Queue确认
publisher-returns: true
# 只要消息抵达Queue就会异步发送优先回调 returnfirm
template:
mandatory: true
listener:
simple:
# 手动 ack消息不使用默认的消费端确认
acknowledge-mode: manual
# 服务器配置
#mqtt:
# server:
# broker-url: tcp://111.229.33.194:1883
# client-id: mqttx_53f082e9
# topic: cartest