public class FetchConsumeOptions extends BaseConsumeOptions
| Modifier and Type | Class and Description |
|---|---|
static class |
FetchConsumeOptions.Builder |
bytes, DEFAULT_EXPIRES_IN_MS, DEFAULT_MESSAGE_COUNT, DEFAULT_THRESHOLD_PERCENT, expiresIn, idleHeartbeat, MAX_EXPIRES_MILLIS, MAX_IDLE_HEARTBEAT_PCT, messages, MIN_EXPIRES_MILLS, thresholdPercent| Modifier and Type | Method and Description |
|---|---|
static FetchConsumeOptions.Builder |
builder() |
int |
getMaxBytes()
The maximum number of bytes to fetch
|
int |
getMaxMessages()
The maximum number of messages to fetch
|
getExpires, getIdleHeartbeat, getThresholdPercentpublic int getMaxMessages()
public int getMaxBytes()
public static FetchConsumeOptions.Builder builder()