!clt #13523 Don't expose sender in cluster client replies
This commit is contained in:
parent
e19d3cb3e8
commit
7533df48cf
5 changed files with 41 additions and 25 deletions
|
|
@ -297,6 +297,17 @@ is now started as a ``system`` actor instead of a ``user`` actor, i.e. the defau
|
|||
the ``ClusterClient`` initial contacts has changed to
|
||||
``"akka.tcp://system@hostname:port/system/receptionist"``.
|
||||
|
||||
ClusterClient sender
|
||||
====================
|
||||
|
||||
In 2.3 the ``sender()`` of the response messages, as seen by the client, was the
|
||||
actor in cluster.
|
||||
|
||||
In 2.4 the ``sender()`` of the response messages, as seen by the client, is ``deadLetters``
|
||||
since the client should normally send subsequent messages via the ``ClusterClient``.
|
||||
It is possible to pass the the original sender inside the reply messages if
|
||||
the client is supposed to communicate directly to the actor in the cluster.
|
||||
|
||||
Akka Persistence
|
||||
================
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue