Single consumer for ordered queue in distributed system #189
|
Hello. I want my messages to be processed in the same order as they were added to the queue. I can set concurrency=1 in RqueueListener annotation and it works if one application is run. But is there any option to use only one consumer across multiple instances? Is it possible to use distributed lock and pop messages only from one machine? thanks |
Answered by
taalexlistex
Mar 2, 2023
Replies: 2 comments 4 replies
|
at the moment implemented by overriding pop method in RqueueMessageTemplate |
0 replies
Answer selected by
taalexlistex
|
also can see huge problem that one message cannot be handled faster than 200ms |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
at the moment implemented by overriding pop method in RqueueMessageTemplate