ProducerBuilder.RoutingConfiguration |
ProducerBuilder.RoutingConfiguration.hash() |
Enable the "hash" routing strategy (the default).
|
ProducerBuilder.RoutingConfiguration |
ProducerBuilder.RoutingConfiguration.hash(ToIntFunction<String> hash) |
Enable the "hash" routing strategy with a specific hash algorithm.
|
ProducerBuilder.RoutingConfiguration |
ProducerBuilder.RoutingConfiguration.key() |
Enable the "key" routing strategy.
|
ProducerBuilder.RoutingConfiguration |
ProducerBuilder.routing(Function<Message,String> routingKeyExtractor) |
Configure the routing for super streams (partitioned streams).
|
ProducerBuilder.RoutingConfiguration |
ProducerBuilder.RoutingConfiguration.strategy(RoutingStrategy routingStrategy) |
Set the routing strategy to use.
|