Skip to content

Why Stream Queue's can not consume messages on the last offset when restart consumer? #278

Answered by Zerpet
LucasZhanye asked this question in Q&A
Discussion options

You must be logged in to vote

You have the meaning for each offset specification documented here: https://www.rabbitmq.com/docs/streams#client-operations

You have to keep track of the last offset that your consumer acknowledges. If you want to start consuming from the last ack'ed offset, you have to set the stream offset as offset and specify the last consumed offset + 1. If you want to use automatic consumer tracking, you have to enable the stream plugin, and use one of the stream clients: https://www.rabbitmq.com/docs/stream

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LucasZhanye
Comment options

Answer selected by LucasZhanye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #277 on July 29, 2024 09:06.