package
Version:
v0.0.0-...-faf29f7
Opens a new window with list of versions in this module.
Published: Apr 25, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetConsumeSize() int
func StartConsumeMsg(index int, topic, channel, nsqd string, handler nsq.Handler) bool
单个nsqd处理消息
index 表示consumer 索引(用于开关使用)
func StopConsumeMsgByIndex(index int)
停止消费
func StopConsumeMsgByTopic(topic string)
停止某个topic下全部消费
Source Files
¶
Click to show internal directories.
Click to hide internal directories.