public class ConsumeOptions extends BaseConsumeOptions
| Modifier and Type | Class and Description |
|---|---|
static class |
ConsumeOptions.Builder |
| Modifier and Type | Field and Description |
|---|---|
static ConsumeOptions |
DEFAULT_CONSUME_OPTIONS |
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 ConsumeOptions.Builder |
builder() |
int |
getBatchBytes()
The initial batch byte size.
|
int |
getBatchSize()
The initial batch message size.
|
getExpires, getIdleHeartbeat, getThresholdPercentpublic static ConsumeOptions DEFAULT_CONSUME_OPTIONS
public int getBatchSize()
public int getBatchBytes()
public static ConsumeOptions.Builder builder()