| Package | Description |
|---|---|
| com.rabbitmq.stream |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.