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, group, idleHeartbeat, MAX_HEARTBEAT_MILLIS, MAX_IDLE_HEARTBEAT_PERCENT, messages, MIN_EXPIRES_MILLS, minAckPending, minPending, raiseStatusWarnings, 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.
|
boolean |
isNoWait() |
protected void |
subclassSpecificToJson(java.lang.StringBuilder sb) |
getExpiresInMillis, getGroup, getIdleHeartbeat, getMinAckPending, getMinPending, getThresholdPercent, raiseStatusWarnings, toJsonclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitserialize, toJsonValuepublic static FetchConsumeOptions DEFAULT_FETCH_OPTIONS
protected void subclassSpecificToJson(java.lang.StringBuilder sb)
subclassSpecificToJson in class BaseConsumeOptionspublic int getMaxMessages()
public long getMaxBytes()
public boolean isNoWait()
public static FetchConsumeOptions.Builder builder()