goblero
goblero copied to clipboard
multi-topics
Great project. Do you have any plans to introduce the concept of topics?
Thanks ! Do you mean topics as in "Kafka topics" ? For now the idea has been to keep all this kind of logic on the user side to keep goblero simple. The user receives a Job that is due for processing and decides what to do with it. But open to other ideas and use cases
A bit like Kafka topics indeed. Here is an example implementation: https://godoc.org/github.com/cskr/pubsub.
I.e. your processor would be able to subscribe to messages that are relevant to it.
Thanks for the link and sorry about the late reply. The current backing queue design is actually very simple and would not support something like that ... but open to PRs if somebody finds a way to make it fit