From f38359300b788c99568eaf1929688d8a4002b066 Mon Sep 17 00:00:00 2001 From: Andrew Schofield Date: Thu, 31 Jul 2025 19:25:04 +0100 Subject: [PATCH] MINOR: Fix javadoc mistake (#20281) Fixes a couple of tiny mistakes in the javadoc for KafkaShareConsumer. Reviewers: Chia-Ping Tsai --- .../apache/kafka/clients/consumer/KafkaShareConsumer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaShareConsumer.java b/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaShareConsumer.java index 76eb373c68b..743c77b4228 100644 --- a/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaShareConsumer.java +++ b/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaShareConsumer.java @@ -239,8 +239,8 @@ import static org.apache.kafka.common.utils.Utils.propsToMap; * In read_uncommitted isolation level, the share group consumes all non-transactional and transactional * records. The consumption is bounded by the high-water mark. *

- * In read_committed isolation level (not yet supported), the share group only consumes non-transactional - * records and committed transactional records. The set of records which are eligible to become in-flight records are + * In read_committed isolation level, the share group only consumes non-transactional records and + * committed transactional records. The set of records which are eligible to become in-flight records are * non-transactional records and committed transactional records only. The consumption is bounded by the last stable * offset, so an open transaction blocks the progress of the share group with read_committed isolation level. * @@ -497,7 +497,7 @@ public class KafkaShareConsumer implements ShareConsumer { *

This method can only be used if the consumer is using explicit acknowledgement. * * @param record The record to acknowledge - * @param type The acknowledgement type which indicates whether it was processed successfully + * @param type The acknowledge type which indicates whether it was processed successfully * * @throws IllegalStateException if the record is not waiting to be acknowledged, or the consumer is not using * explicit acknowledgement