Graph building
Explanation of the core design time components for graph building
Introduction
Previously we have seen how to configure even processing in the generated SEP. This section will concentrate on the available methods to construct the graph model that the Fluxtion event stream compiler will analyse.
Graph construction methods
Imperative
Use of a builder class and imperative code to define the nodes that make up the execution graph, described here.
Data driven
Combining data with custom written node factories to automatically add nodes to the execution graph.
Annotations
Annotations provide a significant avenue for providing meta-data to the Fluxtion ESC, the relevant annotations covered in the this section are:
Annotation | Comment |
A key value pair for configuring an injected instance. | |
Marks a field as providing configuration for an injected instance | |
Marks a reference to be created by a NodeFactory and injected by Fluxtion ESC |
Injection annotations combine with factories to inject manage nodes into an instance.
Declarative
Use of higher order functions to declare the intention of event processing.
Yaml description
A general purpose language for specifying nodes, events, functions and dependencies between nodes.
Last updated