# Can different entities in sharded cluster communicate with each other?

**URL:** <https://discuss.akka.io/t/can-different-entities-in-sharded-cluster-communicate-with-each-other/6905>\
**Category:** Akka Cluster\
**Created:** [July 20, 2020, 2:15am UTC](https://discuss.akka.io/t/can-different-entities-in-sharded-cluster-communicate-with-each-other/6905 "2020-07-20T02:15:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amcontact](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@amcontact](https://discuss.akka.io/u/amcontact)\
**Post date:** [July 20, 2020, 2:15am UTC](https://discuss.akka.io/t/can-different-entities-in-sharded-cluster-communicate-with-each-other/6905/1 "2020-07-20T02:15:51Z")

</div>

The materials on Cluster Sharding imply sending messages from outside the cluster to entities in the cluster. However, can entities (actors) in different sharding regions/shards of the same cluster communicate between each other? Is there some sample code for this? (on how we send a message from one entity to another within a cluster)

---

<div class="post-metadata">

**Author:** ![ignasi35](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/ignasi35/32/62_2.png) [@ignasi35](https://discuss.akka.io/u/ignasi35)\
**Post date:** [July 20, 2020, 11:02am UTC](https://discuss.akka.io/t/can-different-entities-in-sharded-cluster-communicate-with-each-other/6905/2 "2020-07-20T11:02:10Z")

</div>

This looks like a cross-post from [https://stackoverflow.com/questions/62988337/akka-cluster-sharding-can-different-entities-within-the-cluster-communicate-wi](https://stackoverflow.com/questions/62988337/akka-cluster-sharding-can-different-entities-within-the-cluster-communicate-wi)

---

<div class="post-metadata">

**Author:** ![amcontact](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@amcontact](https://discuss.akka.io/u/amcontact)\
**Post date:** [July 20, 2020, 11:37am UTC](https://discuss.akka.io/t/can-different-entities-in-sharded-cluster-communicate-with-each-other/6905/3 "2020-07-20T11:37:46Z")

</div>

Yes, the question can be closed as addressed neatly at stackoverflow, thank you!
