You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves#1587
Code was using the presence of a transaction template instead of the KTM.
**cherry-pick to 2.5.x**
# Conflicts:
# spring-kafka/src/main/java/org/springframework/kafka/listener/ConsumerProperties.java
# spring-kafka/src/test/java/org/springframework/kafka/listener/TransactionalContainerTests.java
# src/reference/asciidoc/kafka.adoc
Copy file name to clipboardExpand all lines: src/reference/asciidoc/kafka.adoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2241,6 +2241,8 @@ The default executor creates threads named `<name>-C-n`; with the `KafkaMessageL
2241
2241
This does not functionally affect the consumer but some users have expressed concern that the "lag" is non-zero.
2242
2242
Set this property to `true` and the container will correct such mis-reported offsets.
2243
2243
The check is performed before the next poll to avoid adding significant complexity to the commit processing.
2244
+
At the time of writing, the lag will only be corrected if the consumer is configured with `isolation.level=read_committed` and `max.poll.records` is greater than 1.
2245
+
See https://issues.apache.org/jira/browse/KAFKA-10683[KAFKA-10683] for more information.
0 commit comments