=doc #3982 Clarify that EventStream is local only
Devs were confused a few times on the mailing list if the eventstream publishes to the cluster or not; Suggesting pub-sub if needed in clustered env.
This commit is contained in:
parent
82ee7e2ede
commit
df90cc3a2e
2 changed files with 8 additions and 0 deletions
|
|
@ -141,6 +141,10 @@ it can be subscribed like this:
|
||||||
|
|
||||||
.. includecode:: code/docs/event/LoggingDocTest.java#deadletters
|
.. includecode:: code/docs/event/LoggingDocTest.java#deadletters
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The event stream is a *local facility*, meaning that it will *not* distribute events to other nodes in a clustered environment (unless you subscribe a Remote Actor to the stream explicitly).
|
||||||
|
If you need to broadcast events in an Akka cluster, *without* knowing your recipients explicitly (i.e. obtaining their ActorRefs), you may want to look into: :ref:`distributed-pub-sub`.
|
||||||
|
|
||||||
Default Handlers
|
Default Handlers
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -136,6 +136,10 @@ how a simple subscription works:
|
||||||
|
|
||||||
.. includecode:: code/docs/event/LoggingDocSpec.scala#deadletters
|
.. includecode:: code/docs/event/LoggingDocSpec.scala#deadletters
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The event stream is a *local facility*, meaning that it will *not* distribute events to other nodes in a clustered environment (unless you subscribe a Remote Actor to the stream explicitly).
|
||||||
|
If you need to broadcast events in an Akka cluster, *without* knowing your recipients explicitly (i.e. obtaining their ActorRefs), you may want to look into: :ref:`distributed-pub-sub`.
|
||||||
|
|
||||||
Default Handlers
|
Default Handlers
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue