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 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
at the moment implemented by overriding pop method in RqueueMessageTemplate
|
Beta Was this translation helpful? Give feedback.
-
also can see huge problem that one message cannot be handled faster than 200ms
|
Beta Was this translation helpful? Give feedback.
at the moment implemented by overriding pop method in RqueueMessageTemplate