public interface RoutingStrategy
This is an experimental API, subject to change.
Used for super streams (partitioned stream).
ProducerBuilder.routing(Function)| Modifier and Type | Interface and Description |
|---|---|
static interface |
RoutingStrategy.Metadata
Metadata on the super stream.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
route(Message message,
RoutingStrategy.Metadata metadata)
Where to route a message.
|
List<String> route(Message message, RoutingStrategy.Metadata metadata)
message - metadata - Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.