Skip to content

Commit a53af2e

Browse files
committed
GH-2286: Doc Fixes
Resolves #2286 Remove `ackOnError` and fix error handler type.
1 parent 44d92ca commit a53af2e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

spring-kafka-docs/src/main/asciidoc/kafka.adoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2474,10 +2474,6 @@ The `Collection` beans will be removed in a future release.
24742474
|BATCH
24752475
|Controls how often offsets are committed - see <<committing-offsets>>.
24762476

2477-
|ackOnError
2478-
|`false`
2479-
|[DEPRECATED in favor of `ErrorHandler.isAckAfterHandle()`]
2480-
24812477
|ackTime
24822478
|5000
24832479
|The time in milliseconds after which pending offsets are committed when the `ackMode` is `TIME` or `COUNT_TIME`.
@@ -5059,7 +5055,6 @@ For example, with the `@KafkaListener` container factory, you can add `SeekToCur
50595055
public ConcurrentKafkaListenerContainerFactory<String, String> kafkaListenerContainerFactory() {
50605056
ConcurrentKafkaListenerContainerFactory<String, String> factory = new ConcurrentKafkaListenerContainerFactory();
50615057
factory.setConsumerFactory(consumerFactory());
5062-
factory.getContainerProperties().setAckOnError(false);
50635058
factory.getContainerProperties().setAckMode(AckMode.RECORD);
50645059
factory.setErrorHandler(new SeekToCurrentErrorHandler(new FixedBackOff(1000L, 2L)));
50655060
return factory;

0 commit comments

Comments
 (0)