Airflow

Integration with Airflow.

Prerequisites

Ensure the following variables are configured in the Airflow environment:

  • airflow_url: Base URL of the Airflow server.

  • airflow_dag_id: Identifier of the DAG to be triggered.

Note: While you can directly use the target URL, we strongly recommend leveraging variables and secrets for enhanced security and maintainability.

Authentication

For Airflow authentication, a Base64-encoded token is required:

  • Generate the token using the string username:password.

  • Example command to generate the token:

    echo -n "username:password" | base64
  • Store this token securely as a secret named airflow_base64_token.

Triggering a DAG

When a registered job in Erathos successfully completes, the specified DAG will be triggered with the following parameters:

  • schema_name: Name of the related schema.

  • table_name: Name of the related table.

POST Payload:

Last updated