Skip to content

Flink visualization library for blogposts

License

Notifications You must be signed in to change notification settings

victorunique/acwern

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acwern Logo

Acwern

Phaser 3 based Apache Flink concept visualization library.

Requirements

Node.js is required to install dependencies and run scripts via npm.

Getting started

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

Documentation

Use case description

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": {
                
            }
        }
    ]

}
}

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.

operators

A list of operators.

sources

A list of sources. Like in Flink sources are a special case of operators.

sinks

A list of sinks. Like in Flink sinks are a special case of operators.

vertices

A list of vertices that connect operators with each other.

About

Flink visualization library for blogposts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.5%
  • HTML 2.5%