public final class QueueConsumerConfig extends Object
| Constructor and Description |
|---|
QueueConsumerConfig(Map<ConsumerInstance,byte[]> startRows,
int numGroups) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumGroups() |
byte[] |
getSmallestStartRow()
Returns the smallest start row among all consumers.
|
byte[] |
getStartRow(ConsumerInstance consumerInstance) |
public QueueConsumerConfig(Map<ConsumerInstance,byte[]> startRows, int numGroups)
public byte[] getStartRow(ConsumerInstance consumerInstance)
public int getNumGroups()
public byte[] getSmallestStartRow()
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.