Convenience implementation of ShardRegion.MessageExtractor that
construct shardId
based on the hashCode
of the entityId
. The number
of unique shards is limited by the given maxNumberOfShards
.
- Companion:
- object
Value members
Concrete methods
Inherited methods
Extract the entity id from an incoming message
. If null
is returned
the message will be unhandled
, i.e. posted as Unhandled
messages on the event stream
Extract the entity id from an incoming message
. If null
is returned
the message will be unhandled
, i.e. posted as Unhandled
messages on the event stream
- Inherited from:
- MessageExtractor