...
Code Block | ||||
---|---|---|---|---|
| ||||
/**
* Responsible for determining whether to accept more Partitions.
* Generally used to dynamically determine the number of partitions to consume.
*/
public interface PartitionAccepter {
public enum Response {
CONTINUE, STOP;
}
public Response accept(PartitionDetail partitionDetail);
} |
...