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
Original file line number
Diff line number
Diff line change
@@ -125,12 +125,9 @@ A new container property `stopImmediate` is now available.
125
125
See <<container-props>> for more information.
126
126
127
127
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.
128
-
See <<after-rollback>> and <<seek-to-current>> for more information.
129
128
130
129
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.
131
130
132
-
See See <<after-rollback>>, <<seek-to-current>>, and <<recovering-batch-eh>> for more information.
133
-
134
131
The `RecordInterceptor` now has additional methods called after the listener returns (normally, or by throwing an exception).
135
132
It also has a sub-interface `ConsumerAwareRecordInterceptor`.
136
133
In addition, there is now a `BatchInterceptor` for batch listeners.
@@ -224,7 +221,6 @@ See <<exactly-once>> for more information.
224
221
225
222
Various error handlers (that extend `FailedRecordProcessor`) and the `DefaultAfterRollbackProcessor` now reset the `BackOff` if recovery fails.
226
223
In addition, you can now select the `BackOff` to use based on the failed record and/or exception.
227
-
See <<seek-to-current>>, <<recovering-batch-eh>>, <<dead-letters>> and <<after-rollback>> for more information.
228
224
229
225
You can now configure an `adviceChain` in the container properties.
230
226
See <<container-props>> for more information.
@@ -245,7 +241,6 @@ See <<seek>> for more information.
245
241
==== ErrorHandler Changes
246
242
247
243
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.
248
-
See <<seek-to-current>>, <<after-rollback>>, <<recovering-batch-eh>> for more information.
249
244
250
245
==== Producer Factory Changes
251
246
@@ -472,7 +467,6 @@ Because the listener container has it's own mechanism for committing offsets, it
472
467
It now sets it to false automatically unless specifically set in the consumer factory or the container's consumer property overrides.
473
468
474
469
The `ackOnError` property is now `false` by default.
475
-
See <<seek-to-current>> for more information.
476
470
477
471
It is now possible to obtain the consumer's `group.id` property in the listener method.
478
472
See <<listener-group-id>> for more information.
@@ -513,8 +507,6 @@ The `SeekToCurrentErrorHandler` and `SeekToCurrentBatchErrorHandler` can now be
513
507
514
508
Starting with version 2.3.2, recovered records' offsets will be committed when the error handler returns after recovering a failed record.
515
509
516
-
See <<seek-to-current>> for more information.
517
-
518
510
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.
519
511
Previously, it was `null` and user code needed to extract the `DeserializationException` from the message headers.
520
512
See <<dead-letters>> for more information.
@@ -621,13 +613,10 @@ They can be configured to publish failed records to a dead-letter topic.
621
613
622
614
Starting with version 2.2.4, the consumer's group ID can be used while selecting the dead letter topic name.
623
615
624
-
See <<after-rollback>>, <<seek-to-current>>, and <<dead-letters>> for more information.
625
-
626
616
The `ConsumerStoppingEvent` has been added.
627
617
See <<events>> for more information.
628
618
629
619
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