Class BlockingFixedRetryInfo.Kafka
java.lang.Object
com.broadleafcommerce.common.messaging.retry.blocking.BlockingFixedRetryInfo.Kafka
- Enclosing class:
- BlockingFixedRetryInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
hashCode()
boolean
Optional.void
setSeekToCurrentRecordOnFailure
(boolean seekToCurrentRecordOnFailure) Optional.toString()
-
Constructor Details
-
Kafka
public Kafka()
-
-
Method Details
-
isSeekToCurrentRecordOnFailure
public boolean isSeekToCurrentRecordOnFailure()Optional. When using the kafka binder, whether failures will be bubbled to the container in combination with a backoff duration, which facilitates seek to current record for retry. This behavior will prevent a possible kafka re-balance in the event the backoff exceeds the poll interval. If false, standard spring retry will be used, in which case, care should be taken that the aggregate of all processing, retries, and delays for a poll of records does not exceed the consumer'smax.poll.interval.ms (default 5 minutes)
property. Default is true. If not using the kafka binder, this setting has no effect. -
setSeekToCurrentRecordOnFailure
public void setSeekToCurrentRecordOnFailure(boolean seekToCurrentRecordOnFailure) Optional. When using the kafka binder, whether failures will be bubbled to the container in combination with a backoff duration, which facilitates seek to current record for retry. This behavior will prevent a possible kafka re-balance in the event the backoff exceeds the poll interval. If false, standard spring retry will be used, in which case, care should be taken that the aggregate of all processing, retries, and delays for a poll of records does not exceed the consumer'smax.poll.interval.ms (default 5 minutes)
property. Default is true. If not using the kafka binder, this setting has no effect. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-