Closed rubiojr closed 4 years ago
We could hook this up to Redis pub/sub system. That would actually be incredibly powerful and awesome...
Agreed :smile:.
Added very basic subscribe support in 25c3e4b3f0d30e7db3fa30d789b4271bbbd017a9 to deliver events received from a Redis pubsub channel and it opens the door to very interesting possibilities.
Still a WiP, need to make all this a bit more resilient and also thinking about adding publish support before merging this also, so other bees can send bits to the Redis channel.
@rubiojr Awesome work! Just let me know whenever you consider this ready to be merged.
I'm almost there. Some minor changes and doc updates and should be good for :eyes:
This is ready for :eyes:
To real world test this, I'm currently writing a small tool that:
Added sample script and Beehive config to https://github.com/rubiojr/beehive-youtube-dl
go-redis built-in retries/backoff works quite well so switched to that instead of using an external backoff library, which simplified the code a bit.
Just realized that my last force push to incorporate master changes didn't work as intended, reverting some of the changes I had pushed... fixing in a bit.
Just realized that my last force push to incorporate master changes didn't work as intended... fixing in a bit.
Fixed in https://github.com/muesli/beehive/pull/272/commits/351b85af354892d24e14bd88310e9eacdab9fe0d
Thanks y'all for the :eyes: !
Key/value storage and pubsub support using a Redis server.