Skip to content

Commit f9e63c2

Browse files
committed
Update What's New
1 parent 81c9e60 commit f9e63c2

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

Diff for: spring-kafka-docs/src/main/asciidoc/changes-since-1.0.adoc

+25
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,31 @@ See <<default-eh>> for more information.
1515
The `DefaultErrorHandler` now has a `BackOffHandler` property.
1616
See <<backoff-handlers>> for more information.
1717

18+
[[x29-lc-changes]]
19+
==== Listener Container Changes
20+
21+
`interceptBeforeTx` now works with all transaction managers (previously it was only applied when a `KafkaAwareTransactionManager` was used).
22+
See <<interceptBeforeTX>>.
23+
24+
A new container property `pauseImmediate` is provided which allows the container to pause the consumer after the current record is processed, instead of after all the records from the previous poll have been processed.
25+
See <<pauseImmediate>>.
26+
27+
Events related to consumer authentication and authorization
28+
29+
[[x29-hm-changes]]
30+
==== Header Mapper Changes
31+
32+
You can now configure which inbound headers should be mapped.
33+
Also available in version 2.8.8 or later.
34+
See <<headers>> for more information.
35+
36+
[[x29-rkt-changes]]
37+
==== `ReplyingKafkaTemplate` Changes
38+
39+
The template now provides a method to wait for assignment on the reply container, to avoid a race when sending a request before the reply container is initialized.
40+
Also available in version 2.8.8 or later.
41+
See <<replying-template>>.
42+
1843
=== What's New in 2.8 Since 2.7
1944

2045
This section covers the changes made from version 2.7 to version 2.8.

Diff for: spring-kafka-docs/src/main/asciidoc/kafka.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,8 @@ The `CompositeRecordInterceptor` and `CompositeBatchInterceptor` can be used to
10471047

10481048
By default, starting with version 2.8, when using transactions, the interceptor is invoked before the transaction has started.
10491049
You can set the listener container's `interceptBeforeTx` property to `false` to invoke the interceptor after the transaction has started instead.
1050+
Starting with version 2.9, this will apply to any transaction manager, not just `KafkaAwareTransactionManager` s.
1051+
This allows, for example, the interceptor to participate in a JDBC transaction started by the container.
10501052

10511053
Starting with versions 2.3.8, 2.4.6, the `ConcurrentMessageListenerContainer` now supports https://kafka.apache.org/documentation/#static_membership[Static Membership] when the concurrency is greater than one.
10521054
The `group.instance.id` is suffixed with `-n` with `n` starting at `1`.

Diff for: spring-kafka-docs/src/main/asciidoc/whats-new.adoc

+7-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,14 @@ IMPORTANT: When using transactions, the minimum broker version is 2.5.
1717

1818
See <<exactly-once>> and https://cwiki.apache.org/confluence/display/KAFKA/KIP-447%3A+Producer+scalability+for+exactly+once+semantics[KIP-447] for more information.
1919

20-
[[global-embedded-kafka]]
20+
[[x30-global-embedded-kafka]]
2121
==== Global Single Embedded Kafka
2222

2323
The embedded Kafka (`EmbeddedKafkaBroker`) can now be start as a single global instance for the whole test plan.
2424
See <<same-broker-multiple-tests>> for more information.
25+
26+
[[x30-retryable]]
27+
==== Retryable Topics Changes
28+
29+
The bootstrapping of [[retry-topic]] infrastructure beans has changed in this release to avoid some timing problems that occurred in some application regarding application initialization.
30+
See <<retry-config>> for more information.

0 commit comments

Comments
 (0)