Event Bus w/ various modes

We’re building a modular monolith and needed an event bus. We wanted one that would make it easy to use for dev mode, could scale for production use, and possibly even allow other apps to tie in (as our organization grows).

We found GitHub - hanami/events: [Experimental] Events framework for Hanami and have been using it for a few years. In that time, we also wrote a Redis PubSub adapter and a Redis Streams adapter for it.

We’d like to give back to the community, and share those extensions, but I sense that the Hanami Events gem we’re building upon has been abandoned by all others.

So, a few questions

Q1- Is GitHub - hanami/events: [Experimental] Events framework for Hanami being maintained?
Q1.1 - Are additions welcome? (like our PubSub and Redis Streams adapters)
Q2- If that is not being maintained, what are you using for an event bus in your application?
Q2.1 - Does it support different adapters?
Q2.2 - Does it support an out-of-process adapter?
Q2.3 - Does it support an adapter that would allow another application to monitor the events?
Q3- I see dry-rb - dry-events v1.0 - Introduction. It doesn’t seem to support an out-of-process mode – Is that right?
Q3.1- Is there any interest in extending it to have an out-of-process mode (like hanami-events adapters)?
Q3.2- Is there anyone who would be willing to partner with us to make that framework change, enabling us to contribute either the PubSub or the Redis Streams adapters?

Phew!

Thanks to everyone to can take the time to help answer these questions

Gary

I recently asked the same question in chat :v

Ad. 1 , it was a pet project of davydovanton (Anton Davydov) · GitHub. It is marked as “experimental” cause it is what it was. Author is no longer involved with Hanami.
Ad 1.1. I understood that the dry-events is the go to gem for pubsub etc
Ad 2. Personally I use arkencys gem rails-event-store (despite the name, it is meant for ruby, not just rails, although I use it with rails)
Ad 2.1 Yes, ROM is supported out of the box, and custom ones are possible
Ad 2.2 and 2.3 best asked in rails-event-store community though, they are quite active on their discord
Ad. 3 It is very simple gem, doubt it does
dunno about the rest

@timriley mentioned before he had some plans for the dry-events gem so maybe he knows more, but personally I think rails-event-store is quite comprehensive tool and it is not rails-only so maybe give it a look. No doubt though some additions to either hanami or dry gems would be nice