| Constructor and Description |
|---|
ConsumersManager(InstrumentationManager instrumentationManager,
RocketMQBinderConfigurationProperties rocketBinderConfigurationProperties) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getConsumerGroups() |
org.apache.rocketmq.client.consumer.DefaultMQPushConsumer |
getOrCreateConsumer(String group,
String topic,
org.springframework.cloud.stream.binder.ExtendedConsumerProperties<RocketMQConsumerProperties> consumerProperties) |
void |
startConsumer(String group) |
void |
startConsumers() |
void |
stopConsumer(String group) |
public ConsumersManager(InstrumentationManager instrumentationManager, RocketMQBinderConfigurationProperties rocketBinderConfigurationProperties)
public org.apache.rocketmq.client.consumer.DefaultMQPushConsumer getOrCreateConsumer(String group, String topic, org.springframework.cloud.stream.binder.ExtendedConsumerProperties<RocketMQConsumerProperties> consumerProperties)
public void startConsumers()
throws org.apache.rocketmq.client.exception.MQClientException
org.apache.rocketmq.client.exception.MQClientExceptionpublic void startConsumer(String group) throws org.apache.rocketmq.client.exception.MQClientException
org.apache.rocketmq.client.exception.MQClientExceptionpublic void stopConsumer(String group)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.