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
-
Method Summary
Modifier and TypeMethodDescriptionint
getDelay()
double
boolean
boolean
void
setAttempts
(int attempts) void
void
setEnabled
(boolean enabled) void
setMaxDelay
(Duration maxDelay) void
setMultiplier
(double multiplier) void
setRandomBackOff
(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)
-