Class BackOffValuesGenerator

java.lang.Object
org.springframework.kafka.retrytopic.BackOffValuesGenerator

public class BackOffValuesGenerator extends Object
Generates the back off values from the provided maxAttempts value and BackOff.
Since:
2.7
  • Constructor Details

    • BackOffValuesGenerator

      public BackOffValuesGenerator(int providedMaxAttempts, @Nullable org.springframework.util.backoff.BackOff providedBackOff)
  • Method Details

    • generateValues

      public List<Long> generateValues()