Skip to content

Loss messages from Priority Queue #2120

Answered by rustatian
Buravenkov asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Buravenkov 👋🏻

we found the reason why the offset was shifting during redeployment. Since RoadRunner assigns tasks to workers in a random order,

I was told about that literally in the first message 😃

Kafka lacks a per-message commit feature, like RMQ, for example. Thus, a message with offset 3 (for example) might be committed while 1 and 2 are still in process. But, also, try to update RR to the latest version. v2023 is too old.


However, could you please advise if there is any way to make rr-jobs with the Kafka driver receive messages in order?

Unfortunately, you can't achieve that with RR. RR sends messages to the first free workers in the stack. So only having 1 worker you ma…

Replies: 2 comments 19 replies

Comment options

You must be logged in to vote
8 replies
@rustatian
Comment options

@Buravenkov
Comment options

@rustatian
Comment options

@Buravenkov
Comment options

@rustatian
Comment options

Comment options

You must be logged in to vote
11 replies
@Buravenkov
Comment options

@rustatian
Comment options

@Buravenkov
Comment options

@rustatian
Comment options

Answer selected by Buravenkov
@Buravenkov
Comment options

@Buravenkov
Comment options

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