Overview
Introduction
Flownode provides a simple streaming process (known as flow) ability to the database.
Flownode manages flows which are tasks that receive data from the source and send data to the sink.
In current version, Flownode only supports standalone mode. In the future, we will support distributed mode.
Components
A Flownode contains all the components needed for the streaming process of a flow. Here we list the vital parts:
- A
FlownodeManagerfor receiving inserts forwarded from theFrontendand sending back results for the flow's sink table. - A certain number of
FlowWorkerinstances, each running in a separate thread. Currently for standalone mode, there is only one flow worker, but this may change in the future. - A
Flowis a task that actively receives data from thesourceand sends data to thesink. It is managed by theFlownodeManagerand run by aFlowWorker.