@Evolving
public interface ReadLimit
MicroBatchStream
when it
implements SupportsAdmissionControl
. There are several child interfaces representing
various kinds of limits.SupportsAdmissionControl.latestOffset(Offset, ReadLimit)
,
ReadAllAvailable
,
ReadMaxRows
Modifier and Type | Method and Description |
---|---|
static ReadLimit |
allAvailable() |
static ReadLimit |
compositeLimit(ReadLimit[] readLimits) |
static ReadLimit |
maxFiles(int files) |
static ReadLimit |
maxRows(long rows) |
static ReadLimit |
minRows(long rows,
long maxTriggerDelayMs) |