public interface QueueConfigurer extends co.cask.tephra.TransactionAware, Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
configureGroups(Iterable<? extends ConsumerGroupConfig> groupConfigs)
Changes the configuration of all consumer groups.
|
void |
configureInstances(long groupId,
int instances)
Changes the number of consumer instances of the given consumer group.
|
void configureInstances(long groupId,
int instances)
throws Exception
groupId - groupId of the consumer groupinstances - number of instances to change toException - if failed to change number of instances.void configureGroups(Iterable<? extends ConsumerGroupConfig> groupConfigs) throws Exception
groupConfigs - information for all consumer groupsException - if failed to change consumer group configurationCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.