Skip to content

Commit f383593

Browse files
MINOR: Fix javadoc mistake (#20281)
Fixes a couple of tiny mistakes in the javadoc for KafkaShareConsumer. Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
1 parent 6b96735 commit f383593

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clients/src/main/java/org/apache/kafka/clients/consumer/KafkaShareConsumer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@
239239
* In <code>read_uncommitted</code> isolation level, the share group consumes all non-transactional and transactional
240240
* records. The consumption is bounded by the high-water mark.
241241
* <p>
242-
* In <code>read_committed</code> isolation level (not yet supported), the share group only consumes non-transactional
243-
* records and committed transactional records. The set of records which are eligible to become in-flight records are
242+
* In <code>read_committed</code> isolation level, the share group only consumes non-transactional records and
243+
* committed transactional records. The set of records which are eligible to become in-flight records are
244244
* non-transactional records and committed transactional records only. The consumption is bounded by the last stable
245245
* offset, so an open transaction blocks the progress of the share group with read_committed isolation level.
246246
*
@@ -497,7 +497,7 @@ public void acknowledge(ConsumerRecord<K, V> record) {
497497
* <p>This method can only be used if the consumer is using <b>explicit acknowledgement</b>.
498498
*
499499
* @param record The record to acknowledge
500-
* @param type The acknowledgement type which indicates whether it was processed successfully
500+
* @param type The acknowledge type which indicates whether it was processed successfully
501501
*
502502
* @throws IllegalStateException if the record is not waiting to be acknowledged, or the consumer is not using
503503
* explicit acknowledgement

0 commit comments

Comments
 (0)