akka.persistence.multidc.scaladsl.ReplicatedEntity
Convenience method to check if the originDc
of the current event is the same as the datacenter
the ReplicatedEntity
is currently running in.
Datacenter name in which the event was originally persisted.
Datacenter name in which the event was originally persisted.
If it is equal to Cluster.selfDataCenter
it is a local event,
and if not, it's a replicated event from the that datacenter.
Context passed to
ReplicatedEntity.eventTrigger
.