Remote events

To monitor the remote actors, Akka provides the functionality to listen to these events. We can write an Actor class and register it as Listener to listen to these events. The events are published to the event stream, and our actor subscribes to the event stream for actor-specific, event notifications.

The following remote events are provided, which our Listener can subscribe to:

Event name

Description

RemoteClientConnected

Whenever an outbound connection is made. The event has information about the transport used and the outbound address that was connected to it.

RemoteClientDisconnected

Whenever an outbound connection is disconnected. The event has information about the transport used and the outbound address that the client ...

Get Akka Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.