GJGJJ/dems-message/config/application-dcim.yml

51 lines
1.4 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

spring:
data:
redis:
database: 0
password: tjjt1234
sentinel:
master: jtredis
nodes: 10.7.248.82:26379,10.7.248.83:26379,10.7.248.84:26379
cloud:
nacos:
discovery:
# 如果使用nacos集群则将所有集群节点的ip:port用逗号连接写在此处
server-addr: 10.7.248.82:8848,10.7.248.83:8848,10.7.248.84:8848
namespace: springboot3
# 多网卡时需要指定一下取本地的哪个ip
ip: 10.6.8.104
netpro:
servlet:
gzip:
enabled: true
rocketmq:
namesrvAddr: 10.7.248.82:9876;10.7.248.83:9876;10.7.248.84:9876
listener:
services:
# 告警通知分组清理用户信息缓存监听
- exchange-name: 'dcim-dataChange'
routing-key: user
service-id: 'dems-baseconfig'
api-path: /messageCallBack/userEdit
model: SINGLE
# 告警通知分组清理用户信息缓存监听
- exchange-name: 'dcim-dataChange'
routing-key: roleAssign
service-id: 'dems-baseconfig'
api-path: /messageCallBack/userEdit
model: SINGLE
# 资产U位管理器数据刷新监听
# - exchange-name: 'dems-data'
# service-id: 'eam-baseconfig'
# api-path: /ubitInfo/refreshByCache
# model: SINGLE
# filterProp: modelCode
# filterValueSet:
# - POSITIONER
# mq服务相关配置
mq:
# 线程池核心线程数大小
corePoolSize: 500