Behavior of reset cursor API #21145
Unanswered
merajblueshift
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello
I have a question on the below API
Is the timestamp corresponding to when the message was pushed into the topic.
So for example at 3PM if the topic already has a backlog of 6 hours (from 9AM and 6000 documents let us say, 1000 for each hour) and I reset to 1PM. What will happen. Will backlog stay as 6000? Or will it come down to 2000.
I know if I reset by relative position, for example 6 hours, last 6 hours of consumed messages are again given to the consumer.
So with reset using absolute timestamp, can the cursor also be moved forward on a topic which has backlog?
Also with pulsar admin cli I see option to reset by relative time, but same option is not available with REST API
All reactions