public static interface TopologyDescription.GlobalStore
global store
.
Adding a global store results in adding a source node and one stateful processor node.
Note, that all added global stores form a single unit (similar to a TopologyDescription.Subtopology
) even if different
global stores are not connected to each other.
Furthermore, global stores are available to all processors without connecting them explicitly, and thus global
stores will never be part of any TopologyDescription.Subtopology
.Modifier and Type | Method | Description |
---|---|---|
int |
id() |
|
TopologyDescription.Processor |
processor() |
The processor node maintaining the global store.
|
TopologyDescription.Source |
source() |
The source node reading from a "global" topic.
|
TopologyDescription.Source source()
TopologyDescription.Processor processor()
int id()