Skip to content

Commit

Permalink
[fix][doc] Fix the note of seek in the consumer
Browse files Browse the repository at this point in the history
Motivation
We already added the seek support for multi-topics consumer in apache#7518. But the note for seek method haven't been updated.

Modification
* Update the doc for seek method in the consumer.

Signed-off-by: Zike Yang <zike@apache.org>
  • Loading branch information
RobertIndie committed Nov 15, 2022
1 parent a69e29d commit 00638a8
Showing 1 changed file with 2 additions and 4 deletions.
Expand Up @@ -695,8 +695,7 @@ CompletableFuture<Void> reconsumeLaterCumulativeAsync(Message<?> message,
* <li><code>MessageId.latest</code> : Reset the subscription on the latest message in the topic
* </ul>
*
* <p>Note: this operation can only be done on non-partitioned topics. For these, one can rather perform
* the seek() on the individual partitions.
* <p>Note: For multi-topics consumer, you can only seek to the earliest or latest message.
*
* @param messageId
* the message id where to reposition the subscription
Expand Down Expand Up @@ -752,8 +751,7 @@ CompletableFuture<Void> reconsumeLaterCumulativeAsync(Message<?> message,
* <li><code>MessageId.latest</code> : Reset the subscription on the latest message in the topic
* </ul>
*
* <p>Note: this operation can only be done on non-partitioned topics. For these, one can rather perform
* the seek() on the individual partitions.
* <p>Note: For multi-topics consumer, you can only seek to the earliest or latest message.
*
* @param messageId
* the message id where to reposition the subscription
Expand Down

0 comments on commit 00638a8

Please sign in to comment.