Class KafkaClient.Acknowledge
java.lang.Object
io.micronaut.configuration.kafka.annotation.KafkaClient.Acknowledge
- Enclosing class:
- KafkaClient
Constants for the
ack
setting for the client, which impacts message delivery durability.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT
public static final int DEFAULTRelay on the default behaviour.- See Also:
-
NONE
public static final int NONEDon't wait for the server to acknowledge receipt.- See Also:
-
ONE
public static final int ONEWait for the leader to acknowledge.- See Also:
-
ALL
public static final int ALLWait for a full set of in-sync replicas to acknowledge.- See Also:
-
-
Constructor Details
-
Acknowledge
public Acknowledge()
-