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