pip install pyfirebird
It provides a Web UI for pipeline management.
This file contains configuration for mysql, rabbitmq and zookeeper. Here is an example:
{
"zookeeper": {
"hosts": "zookeeper:2181"
},
"rabbitmq": {
"username": "stonezhong",
"password": "changeme",
"host": "rabbitmq",
"port": 5672,
"heartbeat": 300
},
"mysql": {
"db_name": "firebird",
"username": "stonezhong",
"password": "changeme",
"server": "10.2.0.29"
}
}
This is your kubernete config file. Firebird Console need to talk to kubernete clsuter to start, stop pipelines.
This is needed if you are using Kubernete in Oracle Cloud Infrastructure. It is your oci config file. You may also need the key file referenced by this config file.
firebird console will read this variable and assuming this is the base url for firebird console. It is commonly used if you put firebird console behind a reverse proxy under certain path.
# Example
export CONSOLE_URI_BASE=/streaming/console
It firebird console uses SSL, you need to specify the domain so HTTP post request won't be rejected due to CRRF trust issue.
# Example
export CSRF_TRUSTED_ORIGINS=https://myserver.com
fbconsole migrate
fbconsole runserver <ip>:<port>
# Example:
fbconsole runserver 0.0.0.0:8000
# You can access firebird console at $CONSOLE_URI_BASE/ui/
pipeline register \
--pipeline-module-name <pipeline name> \
--pipeline-namespace-name <pipeline namespace name> \
--pipeline-image-name <pipeline image name>
# example
pipeline register \
--pipeline-module-name pipe \
--pipeline-namespace-name firebird \
--pipeline-image-name iad.ocir.io/idrnu3akjpv5/firebird-app1
pipeline unregister -pid <pipeline name>
pipeline start -pid <pipeline name>
pipeline stop -pid <pipeline name>
pipeline list