I was looking at sharding example and noticed that the parent's name is used as part of the PersistenceId?
PersistenceId = Context.Parent.Path.Name + "-" + Self.Path.Name;
My questions:
Is the parent's name the ShardId?
What is the purpose of using it? Does it act like a composite key?
My EntityId is a guid and my MessageExtractor inherits from HashCodeMessageExtractor class. Since that will give me a consistent hash for ShardId based on the PersistenceId/Guid, do I still need to use the parents name as part of the PersistenceId? Also, does the hash value change for the same guid depending on different constructor values (maxNumberOfShards)?