public static class KafkaClient.Acknowledge
extends java.lang.Object
ack
setting for the client, which impacts message delivery durability.ProducerConfig.ACKS_DOC
Modifier and Type | Field and Description |
---|---|
static int |
ALL
Wait for a full set of in-sync replicas to acknowledge.
|
static int |
DEFAULT
Relay on the default behaviour.
|
static int |
NONE
Don't wait for the server to acknowledge receipt.
|
static int |
ONE
Wait for the leader to acknowledge.
|
Constructor and Description |
---|
Acknowledge() |
public static final int DEFAULT
public static final int NONE
public static final int ONE
public static final int ALL