Class KafkaProperties.Retry.Topic
java.lang.Object
org.springframework.boot.autoconfigure.kafka.KafkaProperties.Retry.Topic
- Enclosing class:
- KafkaProperties.Retry
Properties for non-blocking, topic-based retries.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDelay()doublebooleanbooleanvoidsetAttempts(int attempts) voidvoidsetEnabled(boolean enabled) voidsetMaxDelay(Duration maxDelay) voidsetMultiplier(double multiplier) voidsetRandomBackOff(boolean randomBackOff)
-
Constructor Details
-
Topic
public Topic()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getAttempts
public int getAttempts() -
setAttempts
public void setAttempts(int attempts) -
getDelay
-
setDelay
-
getMultiplier
public double getMultiplier() -
setMultiplier
public void setMultiplier(double multiplier) -
getMaxDelay
-
setMaxDelay
-
isRandomBackOff
public boolean isRandomBackOff() -
setRandomBackOff
public void setRandomBackOff(boolean randomBackOff)
-