File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
spring-kafka/src/main/java/org/springframework/kafka/listener Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments