You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/03/07 15:01:58 UTC
[GitHub] [pulsar] codelipenghui commented on issue #14563: Calling "peek" on a subscription with an offset of 0 results in a stacktrace
codelipenghui commented on issue #14563:
URL: https://github.com/apache/pulsar/issues/14563#issuecomment-1060781753
@zbentley It needs to create the subscription first, and then publish messages, to peek messages. The new subscription in Pulsar will use the latest position as the initial read position, so if you create the subscription after the message is published, the subscription will not have any backlogs, so you will not able to peek any messages from the subscription.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org