You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-kafka-docs/src/main/asciidoc/changes-since-1.0.adoc
-11
Original file line number
Diff line number
Diff line change
@@ -175,12 +175,9 @@ A new container property `stopImmediate` is now available.
175
175
See <<container-props>> for more information.
176
176
177
177
Error handlers that use a `BackOff` between delivery attempts (e.g. `SeekToCurrentErrorHandler` and `DefaultAfterRollbackProcessor`) will now exit the back off interval soon after the container is stopped, rather than delaying the stop.
178
-
See <<after-rollback>> and <<seek-to-current>> for more information.
179
178
180
179
Error handlers and after rollback processors that extend `FailedRecordProcessor` can now be configured with one or more `RetryListener` s to receive information about retry and recovery progress.
181
180
182
-
See See <<after-rollback>>, <<seek-to-current>>, and <<recovering-batch-eh>> for more information.
183
-
184
181
The `RecordInterceptor` now has additional methods called after the listener returns (normally, or by throwing an exception).
185
182
It also has a sub-interface `ConsumerAwareRecordInterceptor`.
186
183
In addition, there is now a `BatchInterceptor` for batch listeners.
@@ -274,7 +271,6 @@ See <<exactly-once>> for more information.
274
271
275
272
Various error handlers (that extend `FailedRecordProcessor`) and the `DefaultAfterRollbackProcessor` now reset the `BackOff` if recovery fails.
276
273
In addition, you can now select the `BackOff` to use based on the failed record and/or exception.
277
-
See <<seek-to-current>>, <<recovering-batch-eh>>, <<dead-letters>> and <<after-rollback>> for more information.
278
274
279
275
You can now configure an `adviceChain` in the container properties.
280
276
See <<container-props>> for more information.
@@ -295,7 +291,6 @@ See <<seek>> for more information.
295
291
==== ErrorHandler Changes
296
292
297
293
Subclasses of `FailedRecordProcessor` (e.g. `SeekToCurrentErrorHandler`, `DefaultAfterRollbackProcessor`, `RecoveringBatchErrorHandler`) can now be configured to reset the retry state if the exception is a different type to that which occurred previously with this record.
298
-
See <<seek-to-current>>, <<after-rollback>>, <<recovering-batch-eh>> for more information.
299
294
300
295
==== Producer Factory Changes
301
296
@@ -522,7 +517,6 @@ Because the listener container has it's own mechanism for committing offsets, it
522
517
It now sets it to false automatically unless specifically set in the consumer factory or the container's consumer property overrides.
523
518
524
519
The `ackOnError` property is now `false` by default.
525
-
See <<seek-to-current>> for more information.
526
520
527
521
It is now possible to obtain the consumer's `group.id` property in the listener method.
528
522
See <<listener-group-id>> for more information.
@@ -563,8 +557,6 @@ The `SeekToCurrentErrorHandler` and `SeekToCurrentBatchErrorHandler` can now be
563
557
564
558
Starting with version 2.3.2, recovered records' offsets will be committed when the error handler returns after recovering a failed record.
565
559
566
-
See <<seek-to-current>> for more information.
567
-
568
560
The `DeadLetterPublishingRecoverer`, when used in conjunction with an `ErrorHandlingDeserializer`, now sets the payload of the message sent to the dead-letter topic, to the original value that could not be deserialized.
569
561
Previously, it was `null` and user code needed to extract the `DeserializationException` from the message headers.
570
562
See <<dead-letters>> for more information.
@@ -671,13 +663,10 @@ They can be configured to publish failed records to a dead-letter topic.
671
663
672
664
Starting with version 2.2.4, the consumer's group ID can be used while selecting the dead letter topic name.
673
665
674
-
See <<after-rollback>>, <<seek-to-current>>, and <<dead-letters>> for more information.
675
-
676
666
The `ConsumerStoppingEvent` has been added.
677
667
See <<events>> for more information.
678
668
679
669
The `SeekToCurrentErrorHandler` can now be configured to commit the offset of a recovered record when the container is configured with `AckMode.MANUAL_IMMEDIATE` (since 2.2.4).
0 commit comments