优化HTTP请求处理和模块租户检查逻辑:支持GET请求参数转换,简化日志消费者配置,改进RPC调用方式

This commit is contained in:
2026-03-02 14:22:08 +08:00
committed by 张斌
parent dd2cba70f6
commit 62dab53108
4 changed files with 50 additions and 13 deletions

View File

@@ -16,10 +16,9 @@ const (
)
// 消费者配置(从 Redis Stream 消费请求)
const StreamKey = "log:%s" // 请求 Stream 键名与发消息的key一致
const GroupName = "log:consumer:group" // 消费者
const ConsumerName = "message-consumer-1" // 消费者名称(唯一标识
const BatchSize = 1 // 批处理大小每次读取1条
const AutoAck = true // ACK是否自动确认true自动确认false不确认
const StreamKey = "log:%s" // 请求 Stream 键名与发消息的key一致
const ConsumerName = "log-consumer" // 消费者名称(唯一标识)
const BatchSize = 1 // 批处理大小每次读取1条
const AutoAck = true // ACK是否自动确认true自动确认false不确认
const LogSubject = "log:subject"