GH-1084: Add txCommitRecovered Property

Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/1084

Update copyrights
This commit is contained in:
Gary Russell
2021-06-02 16:12:57 -04:00
committed by Soby Chacko
parent 5adeea2acb
commit 7bc90c10a2
4 changed files with 41 additions and 6 deletions

View File

@@ -316,6 +316,11 @@ Usually needed if you want to synchronize another transaction with the Kafka tra
To achieve exactly once consumption and production of records, the consumer and producer bindings must all be configured with the same transaction manager.
+
Default: none.
txCommitRecovered::
When using a transactional binder, the offset of a recovered record (e.g. when retries are exhausted and the record is sent to a dead letter topic) will be committed via a new transaction, by default.
Setting this property to `false` suppresses committing the offset of recovered record.
+
Default: true.
[[reset-offsets]]
==== Resetting Offsets