Class Murmur2MessageExtractor<M>


  • public final class Murmur2MessageExtractor<M>
    extends ShardingMessageExtractor<ShardingEnvelope<M>,​M>
    The murmur2 message extractor uses the same algorithm as the default kafka partitioner allowing kafka partitions to be mapped to shards. This can be used with the pekko.cluster.sharding.external.ExternalShardAllocationStrategy to have messages processed locally.

    Extend Murmur2NoEnvelopeMessageExtractor to not use a message envelope extractor.