Skip to content

Commit 3c62cc3

Browse files
committed
GH-1353: More javadoc polishing
1 parent 74a51d4 commit 3c62cc3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spring-kafka/src/main/java/org/springframework/kafka/listener/ContainerProperties.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,10 +445,12 @@ public PlatformTransactionManager getTransactionManager() {
445445
}
446446

447447
/**
448-
* Set the transaction manager to start a transaction; only {@link AckMode#RECORD} and
449-
* {@link AckMode#BATCH} (default) are supported with transactions.
448+
* Set the transaction manager to start a transaction; offsets are committed with
449+
* semantics equivalent to {@link AckMode#RECORD} and {@link AckMode#BATCH} depending
450+
* on the listener type (record or batch).
450451
* @param transactionManager the transaction manager.
451452
* @since 1.3
453+
* @see #setAckMode(AckMode)
452454
*/
453455
public void setTransactionManager(PlatformTransactionManager transactionManager) {
454456
this.transactionManager = transactionManager;

0 commit comments

Comments
 (0)