public interface MetaQConsumerClient
| 限定符和类型 | 方法和说明 |
|---|---|
void |
init()
开启订阅端
|
void |
resumeConsumer()
继续metaQ消费器
|
void |
shown()
关闭订阅端
|
void |
suspendConsumer()
暂停metaQ消费器
|
void |
updateConsumerCorePoolSize(int corePoolSize)
修改metaQ消费线程数
|
org.apache.rocketmq.common.message.MessageExt |
viewMessage(String msgId)
根据msg id 获得metaq 消息
|
void suspendConsumer()
void resumeConsumer()
void updateConsumerCorePoolSize(int corePoolSize)
corePoolSize - corePoolSizeorg.apache.rocketmq.common.message.MessageExt viewMessage(String msgId) throws Exception
msgId - 消息idException - 异常void shown()
void init() throws org.apache.rocketmq.client.exception.MQClientException
org.apache.rocketmq.client.exception.MQClientException - 异常Copyright © 2019. All rights reserved.