public static class KafkaProperties.Retry.Topic extends Object
Constructor and Description |
---|
Topic() |
Modifier and Type | Method and Description |
---|---|
int |
getAttempts() |
Duration |
getDelay() |
Duration |
getMaxDelay() |
double |
getMultiplier() |
boolean |
isEnabled() |
boolean |
isRandomBackOff() |
void |
setAttempts(int attempts) |
void |
setDelay(Duration delay) |
void |
setEnabled(boolean enabled) |
void |
setMaxDelay(Duration maxDelay) |
void |
setMultiplier(double multiplier) |
void |
setRandomBackOff(boolean randomBackOff) |
public boolean isEnabled()
public void setEnabled(boolean enabled)
public int getAttempts()
public void setAttempts(int attempts)
public Duration getDelay()
public void setDelay(Duration delay)
public double getMultiplier()
public void setMultiplier(double multiplier)
public Duration getMaxDelay()
public void setMaxDelay(Duration maxDelay)
public boolean isRandomBackOff()
public void setRandomBackOff(boolean randomBackOff)