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_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 ConsumeOptions.Builder |
builder() |
long |
getBatchBytes()
The initial batch size in bytes.
|
int |
getBatchSize()
The initial batch size in messages.
|
getExpiresInMillis, getIdleHeartbeat, getThresholdPercent, isNoWait, toJson
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
serialize, toJsonValue
public static ConsumeOptions DEFAULT_CONSUME_OPTIONS
public int getBatchSize()
public long getBatchBytes()
public static ConsumeOptions.Builder builder()