You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to play with bree, thanks for this tool.
I've read #17 and I'm wondering how can I achieve my use case.
I understand the logic besides polling interval on some jobs that accepts some kind of delay, like a minute or more.
I'm trying to use Bree as a job processor somehow like agenda with retry.
Lemme explain a simple use case.
I create users in my system. Then I "emit" some kind of event, whether in a specific collection or just by creating the user document let's say in MongoDB.
Hello,
I'm trying to play with bree, thanks for this tool.
I've read #17 and I'm wondering how can I achieve my use case.
I understand the logic besides polling interval on some jobs that accepts some kind of delay, like a minute or more.
I'm trying to use Bree as a job processor somehow like agenda with retry.
Lemme explain a simple use case.
I create users in my system. Then I "emit" some kind of event, whether in a specific collection or just by creating the user document let's say in MongoDB.
In the meantime, when the application starts, I would like to have one job, to start and use a change stream (https://docs.mongodb.com/drivers/node/usage-examples/changeStream/#:~:text=You%20can%20watch%20for%20changes,event%20documents%20when%20they%20occur.) that would process docs
I just need to bree.start and bree.run("jobX") ?
Thanks
The text was updated successfully, but these errors were encountered: