goblero icon indicating copy to clipboard operation
goblero copied to clipboard

multi-topics

Open bart6114 opened this issue 5 years ago • 3 comments

Great project. Do you have any plans to introduce the concept of topics?

bart6114 avatar Mar 05 '19 20:03 bart6114

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

didil avatar Mar 06 '19 01:03 didil

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.

bart6114 avatar Mar 06 '19 10:03 bart6114

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

didil avatar Mar 22 '19 01:03 didil