UNIVPLMDataIntegration/Admin.NET/Admin.NET.Application/Configuration/MessageQueue.json

23 lines
638 B
JSON
Raw Normal View History

2024-06-15 13:02:35 +08:00
{
"$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
2025-08-28 01:02:34 +08:00
// 事件源存储器配置
"EventBus": {
// 事件源存储器类型默认内存存储Redis则需要配合缓存相关配置
"EventSourceType": "Memory" // Memory、Redis、RabbitMQ、Kafka
},
// RabbitMQ 配置
"RabbitMQ": {
"UserName": "adminnet",
"Password": "adminnet++123456",
"HostName": "127.0.0.1",
"Port": 5672,
"VirtualHost": "/"
2025-08-29 14:18:01 +08:00
},
2025-08-30 00:22:20 +08:00
// RabbitMQ 消费者配置
2025-08-29 14:18:01 +08:00
"RabbitMqConsumerOptions": {
2025-08-30 00:22:20 +08:00
"ConsumerCount": 1 // 消费者数量,多消费者实现多线程消费队列
2024-06-15 13:02:35 +08:00
}
}