Edge Executor Commands

Usage: airflow [-h] GROUP_OR_COMMAND ...

Positional Arguments

GROUP_OR_COMMAND

Possible choices: edge

Sub-commands

edge

Start and manage Edge Worker. Works only when using EdgeExecutor. For more information, see https://airflow.apache.org/docs/apache-airflow-providers-edge/stable/edge_executor.html

airflow edge [-h] COMMAND ...

Positional Arguments

COMMAND

Possible choices: stop, worker

Sub-commands

stop

Stop a running Airflow Edge Worker.

airflow edge stop [-h] [--pid [PID]] [-v]
Named Arguments
--pid

PID file location

-v, --verbose

Make logging output more verbose

Default: False

worker

Start Airflow Edge Worker.

airflow edge worker [-h] [-c CONCURRENCY] [-H EDGE_HOSTNAME] [--pid [PID]]
                    [-q QUEUES] [-v]
Named Arguments
-c, --concurrency

The number of worker processes

Default: 8

-H, --edge-hostname

Set the hostname of worker if you have multiple workers on a single machine

--pid

PID file location

-q, --queues

Comma delimited list of queues to serve, serve all queues if not provided.

-v, --verbose

Make logging output more verbose

Default: False

Was this entry helpful?