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
-11Lines changed: 0 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,12 +25,9 @@ A new container property `stopImmediate` is now available.
25
25
See <<container-props>> for more information.
26
26
27
27
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.
28
-
See <<after-rollback>> and <<seek-to-current>> for more information.
29
28
30
29
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.
31
30
32
-
See See <<after-rollback>>, <<seek-to-current>>, and <<recovering-batch-eh>> for more information.
33
-
34
31
The `RecordInterceptor` now has additional methods called after the listener returns (normally, or by throwing an exception).
35
32
It also has a sub-interface `ConsumerAwareRecordInterceptor`.
36
33
In addition, there is now a `BatchInterceptor` for batch listeners.
@@ -124,7 +121,6 @@ See <<exactly-once>> for more information.
124
121
125
122
Various error handlers (that extend `FailedRecordProcessor`) and the `DefaultAfterRollbackProcessor` now reset the `BackOff` if recovery fails.
126
123
In addition, you can now select the `BackOff` to use based on the failed record and/or exception.
127
-
See <<seek-to-current>>, <<recovering-batch-eh>>, <<dead-letters>> and <<after-rollback>> for more information.
128
124
129
125
You can now configure an `adviceChain` in the container properties.
130
126
See <<container-props>> for more information.
@@ -145,7 +141,6 @@ See <<seek>> for more information.
145
141
==== ErrorHandler Changes
146
142
147
143
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.
148
-
See <<seek-to-current>>, <<after-rollback>>, <<recovering-batch-eh>> for more information.
149
144
150
145
==== Producer Factory Changes
151
146
@@ -372,7 +367,6 @@ Because the listener container has it's own mechanism for committing offsets, it
372
367
It now sets it to false automatically unless specifically set in the consumer factory or the container's consumer property overrides.
373
368
374
369
The `ackOnError` property is now `false` by default.
375
-
See <<seek-to-current>> for more information.
376
370
377
371
It is now possible to obtain the consumer's `group.id` property in the listener method.
378
372
See <<listener-group-id>> for more information.
@@ -413,8 +407,6 @@ The `SeekToCurrentErrorHandler` and `SeekToCurrentBatchErrorHandler` can now be
413
407
414
408
Starting with version 2.3.2, recovered records' offsets will be committed when the error handler returns after recovering a failed record.
415
409
416
-
See <<seek-to-current>> for more information.
417
-
418
410
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.
419
411
Previously, it was `null` and user code needed to extract the `DeserializationException` from the message headers.
420
412
See <<dead-letters>> for more information.
@@ -521,13 +513,10 @@ They can be configured to publish failed records to a dead-letter topic.
521
513
522
514
Starting with version 2.2.4, the consumer's group ID can be used while selecting the dead letter topic name.
523
515
524
-
See <<after-rollback>>, <<seek-to-current>>, and <<dead-letters>> for more information.
525
-
526
516
The `ConsumerStoppingEvent` has been added.
527
517
See <<events>> for more information.
528
518
529
519
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