Skip to content

Commit 23c0957

Browse files
committed
Fix doc typo
1 parent 2b43772 commit 23c0957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reference/asciidoc/kafka.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4697,7 +4697,7 @@ Spring Framework provides two out of the box `BackOff` s, `FixedBackOff` and `Ex
46974697
The maximum back off time must not exceed the `max.poll.interval.ms` consumer property, to avoid a rebalance.
46984698

46994699
IMPORTANT: Previously, the configuration was "maxFailures" (which included the first delivery attempt).
4700-
When using a `FixedBackOff`, its `maxAttempts` properties represents the number of delivery retries (one less than the old `maxFailures` property).
4700+
When using a `FixedBackOff`, its `maxAttempts` property represents the number of delivery retries (one less than the old `maxFailures` property).
47014701
Also, `maxFailures=-1` meant retry indefinitely with the old configuration, with a `BackOff` you would set the `maxAttempts` to `Long.MAX_VALUE` for a `FixedBackOff` and leave the `maxElapsedTime` to its default in an `ExponentialBackOff`.
47024702

47034703
The `SeekToCurrentBatchErrorHandler` can also be configured with a `BackOff` to add a delay between delivery attempts.

0 commit comments

Comments
 (0)