ratus icon indicating copy to clipboard operation
ratus copied to clipboard

[Question] Multiple consumers and partial ordering

Open zim32 opened this issue 2 years ago • 0 comments

Good day. Thanks you for amazing tool.

I am considering this project but my question is, is it possible to implement partial ordering with this tool? I mean, suppose we have multiple consumers and we need to guarantee that tasks with the same hash (ordering group or somethink like that) will be processed by same consumer?

In kafka this is done automatically, in rabbitmq there is a plugin for that. You can read about partial ordering in this article

https://alexravikovich.medium.com/rabbitmq-partial-order-implementation-using-consistent-hash-exchange-golang-29ab6f439021

Thanks a lot.

zim32 avatar Apr 09 '23 10:04 zim32