Simple EventBus with Akka

I am looking for a simple even or message bus to distribute events within my application.

I already looked into Guava’s EventBus, but this does not appear to be asynchronous.

During my investigations, I found Akka’s EventBus but I am unsure if this is the right way to go:

  1. It appears to be only Classic and therefore could be gone anytime?
  2. I could not find any example with my use-case so it might be just so that it has a similar name as the thing I need.

I am looking forward to your advice!

We have no plans of removing the classic APIs, but it also exists for the new actor APIs. It is accessed via eventStream of the akka.actor.typed.ActorSystem. See API docs.