InT - the type of messages being routed.public interface Router<InT>
Router routes messages from ingresses to individual StatefulFunctions.
Implementations should be stateless, as any state in routers are not persisted by the system.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Router.Downstream<T>
Interface for invoking downstream functions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
route(InT message,
Router.Downstream<InT> downstream)
Routes a given message to downstream
StatefulFunctions. |
void route(InT message, Router.Downstream<InT> downstream)
StatefulFunctions. A single message may result in
multiple functions being invoked.message - the message to route.downstream - used to invoke downstream functions.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.