Class VirtualShardMd5Strategy

java.lang.Object
org.zalando.sprocwrapper.sharding.VirtualShardKeyStrategy
org.zalando.sprocwrapper.sharding.VirtualShardMd5Strategy

public class VirtualShardMd5Strategy extends VirtualShardKeyStrategy
extract the last 3 bytes of the shard key's MD5 hash: the shard key must be either a string or a string list (the first list item is used in this case)
Author:
jmussler, hjacobs
  • Constructor Details

    • VirtualShardMd5Strategy

      public VirtualShardMd5Strategy()
  • Method Details