Phaser 3 based Apache Flink concept visualization library.
Node.js is required to install dependencies and run scripts via npm
.
Install all dependencies
npm install
Run a development server
npm run start
Build a dist
npm run build
Publish on Github page (you need to have access to the ververica/acwern repo)
npm run publish
A Flink use case is defined through a json file. This can look something like this:
{
"config": {
"useBuffer": true|false
},
"job": {
"sources": [
{
"id": "source-1",
"type": "simple",
"config": {
}
}, ...
],
"sinks": [
{
"id": "sink-1",
"type": "simple",
"config": {
}
}, ...
],
"operators": [
{
"id": "operator-1",
"type": "simple",
"config": {
}
}, ...
],
"vertices": [
{
"from": "source-1",
"to": "operator-1",
"type": "simple",
"config": {
}
}
]
}
}
The config object contains general options for the modelled use case as well es visual options.
operator.useBuffer: boolean
If set to true Operators will visualise buffers.
operator.bufferSize: integer
Value is only considered when useBuffer is set to true
.
A list of operators.
A list of sources. Like in Flink sources are a special case of operators.
A list of sinks. Like in Flink sinks are a special case of operators.
A list of vertices that connect operators with each other.