public class FetchConsumeOptions extends BaseConsumeOptions
| Modifier and Type | Class and Description |
|---|---|
static class |
FetchConsumeOptions.Builder |
| Modifier and Type | Field and Description |
|---|---|
static FetchConsumeOptions |
DEFAULT_FETCH_OPTIONS |
bytes, DEFAULT_EXPIRES_IN_MILLIS, DEFAULT_MESSAGE_COUNT, DEFAULT_MESSAGE_COUNT_WHEN_BYTES, DEFAULT_THRESHOLD_PERCENT, expiresIn, idleHeartbeat, MAX_HEARTBEAT_MILLIS, MAX_IDLE_HEARTBEAT_PERCENT, messages, MIN_EXPIRES_MILLS, noWait, thresholdPercent| Modifier and Type | Method and Description |
|---|---|
static FetchConsumeOptions.Builder |
builder() |
long |
getMaxBytes()
The maximum number of bytes to fetch.
|
int |
getMaxMessages()
The maximum number of messages to fetch.
|
getExpiresInMillis, getIdleHeartbeat, getThresholdPercent, isNoWait, toJsonclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitserialize, toJsonValuepublic static FetchConsumeOptions DEFAULT_FETCH_OPTIONS
public int getMaxMessages()
public long getMaxBytes()
public static FetchConsumeOptions.Builder builder()