From 4055a4289938143d9b3dc4df9ddf889806e5b236 Mon Sep 17 00:00:00 2001 From: RomanIakovlev <2363458+RomanIakovlev@users.noreply.github.com> Date: Tue, 18 Dec 2018 15:47:10 +0100 Subject: [PATCH] Update the typed cluster sharding documentation to use new terminology #26120 EventSourcedEntity instead of PersistentEntity --- akka-docs/src/main/paradox/typed/cluster-sharding.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-docs/src/main/paradox/typed/cluster-sharding.md b/akka-docs/src/main/paradox/typed/cluster-sharding.md index 2829adeee7..931219cd4c 100644 --- a/akka-docs/src/main/paradox/typed/cluster-sharding.md +++ b/akka-docs/src/main/paradox/typed/cluster-sharding.md @@ -77,8 +77,8 @@ Scala Java : @@snip [HelloWorldPersistentEntityExample.java](/akka-cluster-sharding-typed/src/test/java/jdocs/akka/cluster/sharding/typed/HelloWorldPersistentEntityExample.java) { #persistent-entity-import #persistent-entity } -Note that `PersistentEntity` is used in this example. Any `Behavior` can be used as a sharded entity actor, -but the combination of sharding and persistent actors is very common and therefore the `PersistentEntity` +Note that `EventSourcedEntity` is used in this example. Any `Behavior` can be used as a sharded entity actor, +but the combination of sharding and persistent actors is very common and therefore the `EventSourcedEntity` @scala[factory]@java[class] is provided as convenience. It selects the `persistenceId` automatically from the `EntityTypeKey` and `entityId` @java[constructor] parameters by using `EntityTypeKey.persistenceIdFrom`.