feat:REQ-1419 消息发送支持批量发送

This commit is contained in:
zuoqinbo 2023-10-25 20:23:44 +08:00
parent ec5b63f18a
commit 7aa4951084

View File

@ -1,56 +1,67 @@
spring:
application:
name: im-center
main:
allow-bean-definition-overriding: true
#指定激活环境
profiles:
active: ${NACOS_PROFILES_ACTIVE:local}
cloud:
nacos:
config:
server-addr: ${NACOS_HOST}:${NACOS_PORT}
file-extension: yaml
namespace: ${NACOS_NAMESPACE_ID}
---
#本地开发机器连接公网中间件地址(仅 DEV 环境)
spring:
config:
activate:
on-profile: local
cloud:
nacos:
config:
server-addr: ${NACOS_HOST:dev-nacos.axzo.cn}:${NACOS_PORT:80}
file-extension: yaml
namespace: ${NACOS_NAMESPACE_ID:f82179f1-81a9-41a1-a489-4f9ab5660a6e}
prefix: ${spring.application.name}
profiles:
active: ${NACOS_PROFILES_ACTIVE:dev}
main:
allow-bean-definition-overriding: true
datasource:
username: datacollection
password: oyF7nNMrodA5oUPL
url: jdbc:mysql://172.16.2.197:3311/pudge-dev?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&serverTimezone=Asia/Shanghai&useSSL=true&verifyServerCertificate=false&rewriteBatchedStatements=true
redis:
host: 123.249.44.111
port: 31270
password: Kjgnj93JKj3je
logging:
level:
com.alibaba.nacos.client.config.impl: WARN
management:
endpoint:
metrics:
enabled: true
prometheus:
enabled: true
endpoints:
web:
exposure:
include: prometheus
path-mapping:
prometheus: metrics
base-path: /
metrics:
tags:
application: ${spring.application.name}
export:
prometheus:
enabled: true
server:
port: 8081
resp:
error-code:
non-base-mapping: {"[*]": OK}
---
#开发环境
spring:
config:
activate:
on-profile: dev
cloud:
gateway:
enabled: false
redis:
enabled: false
nacos:
config:
server-addr: ${NACOS_HOST:dev-nacos.axzo.cn}:${NACOS_PORT:80}
file-extension: yaml
namespace: ${NACOS_NAMESPACE_ID:35eada10-9574-4db8-9fea-bc6a4960b6c7}
---
#测试环境
spring:
config:
activate:
on-profile: test
cloud:
nacos:
config:
server-addr: ${NACOS_HOST:test-nacos.axzo.cn}:${NACOS_PORT:80}
file-extension: yaml
namespace: ${NACOS_NAMESPACE_ID:f3c0f0d2-bac4-4498-bee7-9c3636b3afdf}
---
#预发布环境
spring:
config:
activate:
on-profile: pre
cloud:
nacos:
config:
server-addr: ${NACOS_HOST:https://pre-nacos.axzo.cn}:${NACOS_PORT:443}
file-extension: yaml
namespace: ${NACOS_NAMESPACE_ID:8b4cf725-7595-4c92-b2a6-9260a51ce078}