Rill Flow is a high-performance, scalable distributed workflow orchestration service
Rill Flow is a high-performance, scalable distributed workflow orchestration service with the following core features:
Before you begin, ensure that the following tools are installed:
Install Rill Flow services on your local environment using Docker-Compose:
git clone https://github.com/weibocom/rill-flow.git
Enter the Docker directory of the Rill-Flow source code and execute the one-click start command:
cd rill-flow/docker
docker-compose up -d
If your system has Docker Compose V2 installed instead of V1, please use docker compose instead of docker-compose. Check if this is the case by running docker compose version. Read more information here.
To check the status of Rill Flow, please execute the following command:
docker-compose ps
Here is the expected output:
Name Command State Ports
------------------------------------------------------------------------------------------------------------------------------------------------------------
rill-flow-mysql docker-entrypoint.sh --bin ... Up 0.0.0.0:3306->3306/tcp, 33060/tcp
rillflow_cache_1 docker-entrypoint.sh redis ... Up 6379/tcp
rillflow_jaeger_1 /go/bin/all-in-one-linux Up 14250/tcp, 14268/tcp, 0.0.0.0:16686->16686/tcp, 5775/udp, 5778/tcp, 6831/udp, 6832/udp
rillflow_rill-flow_1 catalina.sh run Up 0.0.0.0:8080->8080/tcp
rillflow_sample-executor_1 uvicorn main:app --host 0. ... Up
rillflow_ui_1 /docker-entrypoint.sh /bin ... Up 0.0.0.0:80->80/tcp
If your actual output matches the expected output, it means that Rill Flow has been successfully installed.
After the command is successfully executed, you can access the Rill Flow management background at http://localhost (admin/admin). If the server is deployed, use the server IP address for access (port 80 by default).
version: 1.0.0
workspace: rillFlowSimple
dagName: greet
alias: release
type: flow
inputSchema: >-
[{"required":true,"name":"Bob","type":"String"},{"required":true,"name":"Alice","type":"String"}]
tasks:
- category: function
name: Bob
resourceName: http://sample-executor:8000/greet.json?user=Bob
pattern: task_sync
tolerance: false
next: Alice
inputMappings:
- source: "$.context.Bob"
target: "$.input.Bob"
- category: function
name: Alice
resourceName: http://sample-executor:8000/greet.json?user=Alice
pattern: task_sync
tolerance: false
inputMappings:
- source: "$.context.Alice"
target: "$.input.Alice"
Click the 'Test' button, fill in the required parameters, and click the 'Submit' button.
More instructions on viewing results can be found in Execution Status
The following are contributors to the project along with their GitHub links:
Rill Flow is an open-source project under the Apache License 2.0.