public class ConsumerLimits extends java.lang.Object implements JsonSerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ConsumerLimits.Builder
ConsumerLimits can be created using a Builder.
|
| Modifier and Type | Method and Description |
|---|---|
static ConsumerLimits.Builder |
builder()
Creates a builder for a consumer limits object.
|
java.time.Duration |
getInactiveThreshold()
Get the amount of time before the consumer is deemed inactive.
|
long |
getMaxAckPending()
Gets the maximum ack pending configuration.
|
java.lang.String |
toJson() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitserialize, toJsonValuepublic java.time.Duration getInactiveThreshold()
public long getMaxAckPending()
public java.lang.String toJson()
toJson in interface JsonSerializablepublic static ConsumerLimits.Builder builder()