增加获取消息channel方法
This commit is contained in:
@ -8,7 +8,6 @@
|
||||
package define
|
||||
|
||||
const (
|
||||
DefaultMemoryPartitionNum = 1 // 默认的分区数量
|
||||
DefaultMemoryChannelSize = 1024 // 默认的消息channel大小
|
||||
DefaultMemoryCloseMaxWaitTime = 5000 // 默认最大等待 : 5s
|
||||
)
|
||||
@ -19,7 +18,6 @@ const (
|
||||
//
|
||||
// Date : 11:26 2024/7/17
|
||||
type MemoryEventConfig struct {
|
||||
PartitionNum int `json:"partition_num"` // 多少个分区, 默认值 : 1
|
||||
MessageBufferSize int `json:"message_buffer_size"` // 消息缓冲区大小
|
||||
CloseMaxWaitTime int `json:"close_max_wait_time"` // 关闭消息实例, 最大等待时长, 单位 : ms
|
||||
}
|
||||
|
Reference in New Issue
Block a user