Class BlockingRetryProperties

java.lang.Object
com.broadleafcommerce.common.messaging.retry.blocking.BlockingRetryProperties

@ConfigurationProperties("broadleaf.messaging.blocking.retry.cloud.stream") public class BlockingRetryProperties extends Object
Configure blocking retry. This is an opinionated configuration, but at the same time tries to compact different binder implementation concerns into a unified config. When isEnabled() is true:
  1. Default to blocking retry with seek to current offset for kafka (i.e. BlockingFixedRetryInfo.Kafka.isSeekToCurrentRecordOnFailure() is true). If the default is changed, then in-memory Spring retry will be used instead, in which case, care should be taken to not exceed max.poll.interval.ms for the aggregate of the retry timeline when using Kafka.
  2. Using in-memory Spring retry as the retry approach for all non-kafka binders
  3. Configure which exceptions are retryable, allowing all if not specified
  4. Standardize on fixed backoff via configuration
  5. Specify a DLQ, if desired

Note - Consuming batches is not currently supported with this configuration.