List of usage examples for org.springframework.kafka.support SeekUtils DEFAULT_MAX_FAILURES
int DEFAULT_MAX_FAILURES
To view the source code for org.springframework.kafka.support SeekUtils DEFAULT_MAX_FAILURES.
Click Source Link
From source file:org.springframework.kafka.listener.DefaultAfterRollbackProcessor.java
/** * Construct an instance with the default recoverer which simply logs the record after * {@value SeekUtils#DEFAULT_MAX_FAILURES} (maxFailures) have occurred for a * topic/partition/offset./*w w w. j a v a 2 s . co m*/ * @since 2.2 */ public DefaultAfterRollbackProcessor() { this(null, SeekUtils.DEFAULT_MAX_FAILURES); }
From source file:org.springframework.kafka.listener.DefaultAfterRollbackProcessor.java
/** * Construct an instance with the provided recoverer which will be called after * {@value SeekUtils#DEFAULT_MAX_FAILURES} (maxFailures) have occurred for a * topic/partition/offset.// www. j a v a2s.com * @param recoverer the recoverer. * @since 2.2 */ public DefaultAfterRollbackProcessor(BiConsumer<ConsumerRecord<?, ?>, Exception> recoverer) { this(recoverer, SeekUtils.DEFAULT_MAX_FAILURES); }
From source file:org.springframework.kafka.listener.SeekToCurrentErrorHandler.java
/** * Construct an instance with the default recoverer which simply logs the record after * {@value SeekUtils#DEFAULT_MAX_FAILURES} (maxFailures) have occurred for a * topic/partition/offset.// ww w.ja v a 2s .co m * @since 2.2 */ public SeekToCurrentErrorHandler() { this(null, SeekUtils.DEFAULT_MAX_FAILURES); }
From source file:org.springframework.kafka.listener.SeekToCurrentErrorHandler.java
/** * Construct an instance with the provided recoverer which will be called after * {@value SeekUtils#DEFAULT_MAX_FAILURES} (maxFailures) have occurred for a * topic/partition/offset.// w w w.j a v a 2 s . c om * @param recoverer the recoverer. * @since 2.2 */ public SeekToCurrentErrorHandler(BiConsumer<ConsumerRecord<?, ?>, Exception> recoverer) { this(recoverer, SeekUtils.DEFAULT_MAX_FAILURES); }