FivetranOperator

Fivetran

FivetranOperator starts a Fivetran sync job.

View on GitHub

Last Updated: Jan. 14, 2022

Access Instructions

Install the Fivetran provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

fivetran_conn_idOptional[str]Conn ID of the Connection to be used to configure the hook.
fivetran_retry_limitOptional[int]# of retries when encountering API errors
fivetran_retry_delayintTime to wait before retrying API request
connector_idstrID of the Fivetran connector to sync, found on the Connector settings page.
schedule_typestrschedule type. Default is “manual” which takes the connector off Fivetran schedule. Set to “auto” to keep connector on Fivetran schedule.

Documentation

FivetranOperator starts a Fivetran sync job.

FivetranOperator requires that you specify the connector_id of the sync job to start. You can find connector_id in the Settings page of the connector you configured in the Fivetran dashboard. Note that when a Fivetran sync job is controlled via an Operator, it is no longer run on the schedule as managed by Fivetran. In other words, it is now scheduled only from Airflow. This can be changed with the schedule_type parameter.

Was this page helpful?