Skip to content

Commit 379a798

Browse files
committed
Non-Blocking Retries cannot combine with container transactions.
* docs `transactions.adoc` and `retrytopic.adoc`
1 parent cd4341c commit 379a798

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/transactions.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ Instead, use a `KafkaTransactionManager` in the container to start the Kafka tra
7979

8080
See xref:tips.adoc#ex-jdbc-sync[Examples of Kafka Transactions with Other Transaction Managers] for an example application that chains JDBC and Kafka transactions.
8181

82+
IMPORTANT: xref:retrytopic.adoc[Non-Blocking Retries] cannot combine with xref:kafka/transactions.adoc#container-transaction-manager[Container Transactions].
83+
When listener code threw exception, container transactions commit success and record sending to the retryable topic.
84+
8285
[[kafkatemplate-local-transactions]]
8386
== `KafkaTemplate` Local Transactions
8487

spring-kafka-docs/src/main/antora/modules/ROOT/pages/retrytopic.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ Since 2.7 Spring for Apache Kafka offers support for that via the `@RetryableTop
99

1010
IMPORTANT: Non-blocking retries are not supported with xref:kafka/receiving-messages/listener-annotation.adoc#batch-listeners[Batch Listeners].
1111

12+
IMPORTANT: Non-Blocking Retries cannot combine with xref:kafka/transactions.adoc#container-transaction-manager[Container Transactions].

0 commit comments

Comments
 (0)