public abstract class KafkaProducerSemantic
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
KafkaProducerSemantic.AtLeastOnce |
static class |
KafkaProducerSemantic.ExactlyOnce |
static class |
KafkaProducerSemantic.NoSemantics |
Constructor and Description |
---|
KafkaProducerSemantic() |
Modifier and Type | Method and Description |
---|---|
KafkaProducerSemantic.AtLeastOnce |
asAtLeastOnceSemantic() |
KafkaProducerSemantic.ExactlyOnce |
asExactlyOnceSemantic() |
KafkaProducerSemantic.NoSemantics |
asNoSemantic() |
static KafkaProducerSemantic |
atLeastOnce() |
static KafkaProducerSemantic |
exactlyOnce(java.time.Duration transactionTimeout) |
boolean |
isAtLeastOnceSemantic() |
boolean |
isExactlyOnceSemantic() |
boolean |
isNoSemantic() |
static KafkaProducerSemantic |
none() |
public static KafkaProducerSemantic exactlyOnce(java.time.Duration transactionTimeout)
public static KafkaProducerSemantic atLeastOnce()
public static KafkaProducerSemantic none()
public boolean isExactlyOnceSemantic()
public KafkaProducerSemantic.ExactlyOnce asExactlyOnceSemantic()
public boolean isAtLeastOnceSemantic()
public KafkaProducerSemantic.AtLeastOnce asAtLeastOnceSemantic()
public boolean isNoSemantic()
public KafkaProducerSemantic.NoSemantics asNoSemantic()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.