In Akka remote we crate actor by defining in actor system configuration,or programmatically saying the other actor system location.
We send messages to the actor by the references we created or we can get a actor reference by getting actorselection.
But with Akka Cluster there is no clear point for me.
How we create actors out side of cluster dynamically?
How we send messages to that actors and how that actors created across cluster (distributed way)?
Or we have to send a particular actor in cluster and that will create actors or distribute message?
Edited answer for responding to missed points.
A General Approach
This approach is suggested for a more general usecase.
You cannot directly create actors in other members in the cluster or outside. But However, you can implement member creation in your application logic. Then, you can subscribe for cluster membership events in a supervisor level actor. See the documentation
Assume you subscribed to MemberUp events to detect new members in cluster, and MemberRemoved events to detect offline members. So you can maintain a routing table in each actor system to communicate with other actor systems in your cluster.
Then you can receive get the member address from the membership events and implement other application logics. Checkout the following snippet for getting an idea.
Since you have the actor addresses in your routing table, you can use Akka remoting to send messages to them.
For more distributed methods to create and communicate with actors dynamically in a cluster, you can use Cluster Singleton and/or Cluster Sharding.
Cluster Singleton
If your cluster needs only one specific type of actor in the cluster, you can create a Cluster Singleton This actor will be always available/running somewhere in the cluster irrespective of how many members are in cluster.
You can create a singleton actor, and it will be dynamically available in your cluster. If the cluster member running your singleton actor is stopped, cluster will spawn another singleton actor somewhere in the cluster.
Use the proxy reference to send messages to the singleton.
Cluster Sharding
From the docs,
You may define the number of shards in the actor system configuration. Note that this value should be same for all actor systems in the cluster, and changing this value will require cluster wide restart.
Alternatively, You can use Cluster Client to send messages to actors in a cluster, from outside the cluster.
I strongly suggest you to read the documentation since these are some deep topics in Akka Clustering.