public static interface ConsistentHashingRouter.ConsistentHashMapper
May return null
to indicate that the message is not handled by
this mapping.
If returning an Array[Byte]
or String it will be used as is,
otherwise the configured Serializer
will be applied to the returned data.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
hashKey(java.lang.Object message) |