From f6abfcedefb55a88011a3ca1109641258c559791 Mon Sep 17 00:00:00 2001
From: jules Ivanic
Date: Wed, 16 Mar 2022 15:26:04 +0800
Subject: [PATCH] Fix `ConsumerConfig.ISOLATION_LEVEL_DOC`
---
.../java/org/apache/kafka/clients/consumer/ConsumerConfig.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java
index ca24c281dc0d..48f1ccbf1951 100644
--- a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java
+++ b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java
@@ -312,7 +312,7 @@ public class ConsumerConfig extends AbstractConfig {
" read_committed
mode, consumer.poll() will only return messages up to the last stable offset (LSO), which is the one less than the offset of the first open transaction." +
" In particular any messages appearing after messages belonging to ongoing transactions will be withheld until the relevant transaction has been completed. As a result, read_committed
" +
" consumers will not be able to read up to the high watermark when there are in flight transactions.
Further, when in read_committed
the seekToEnd method will" +
- " return the LSO";
+ " return the LSO
";
public static final String DEFAULT_ISOLATION_LEVEL = IsolationLevel.READ_UNCOMMITTED.toString().toLowerCase(Locale.ROOT);