Manage syncs
After you have created a connection, you can change how your data syncs to the destination by modifying the configuration settings and the stream settings.
Configure connection settings
Configuring the connection settings allows you to manage various aspects of the sync, such as how often data syncs and where data is written.
To configure these settings:
On the Airbyte Cloud dashboard, click Connections and then click the connection you want to change.
Click the Replication tab.
Click the Configuration dropdown.
You can configure the following settings:
These settings apply to all streams in the connection.
Setting | Description |
---|---|
Replication frequency | How often the data syncs |
Destination namespace | Where the replicated data is written |
Destination stream prefix | How you identify streams from different connectors |
Non-breaking schema updates detected | How Airbyte handles syncs when it detects non-breaking schema changes in the source |
To use cron scheduling:
In the Replication Frequency dropdown, click Cron.
Enter a cron expression and choose a time zone to create a sync schedule.
- Only one sync per connection can run at a time.
- If a sync is scheduled to run before the previous sync finishes, the scheduled sync will start after the completion of the previous sync.
- Airbyte Cloud does not support schedules that sync more frequently than once per hour.
Modify streams in your connection
In the Activate the streams you want to sync table, you can choose which streams to sync and how they are loaded to the destination.
A connection's schema consists of one or many streams. Each stream is most commonly associated with a database table or an API endpoint. Within a stream, there can be one or many fields or columns.
To modify streams:
On the Airbyte Cloud dashboard, click Connections and then click the connection you want to change.
Click the Replication tab.
Scroll down to the Activate the streams you want to sync table.
You can modify a single stream, or you can modify multiple streams at once.
Modify an individual stream:
In the Activate the streams you want to sync table, toggle Sync on or off for your selected stream.
Click the Sync mode dropdown and select the sync mode you want to apply.
Depending on the sync mode you select, you may need to choose a cursor or primary key.
- Select the Cursor or Primary keys when they are required by the stream sync mode.
Source-defined cursors and primary keys are selected automatically and cannot be changed in the table.
Click on a stream to display the stream details panel.
Toggle individual fields to include or exclude them in the sync, or use the toggle in the table header to select all fields at once.
- You can only deselect top-level fields. You cannot deselect nested fields.
- The Airbyte platform may read all data from the source (depending on the source), but it will only write data to the destination from fields you selected. Deselecting fields will not prevent the Airbyte platform from reading them.
- When you refresh the schema, newly added fields will be selected by default, even if you have previously deselected fields in that stream.
Depending on the sync mode you chose for your connection, you can select the Cursor or Primary keys for individual fields in this table.
Click the X to close the stream details panel.
Click Save changes, or click Cancel to discard the changes.
The Stream configuration changed dialog displays. This gives you the option to reset streams when you save the changes.
Airbyte recommends that you reset streams. A reset will delete data in the destination of the affected streams and then re-sync that data. Skipping a reset is discouraged and might lead to unexpected behavior.
- Click Save connection.
Modify multiple streams:
- In the Activate the streams you want to sync table, select the checkboxes of streams that you want to apply changes to.
To select or deselect all streams, click the checkbox in the table header. To deselect an individual stream, deselect its checkbox in the table.
In the highlighted footer of the table:
Toggle Sync on or off.
Click the Sync mode dropdown and select the sync mode you want to apply.
noteDepending on the sync mode you select, you may need to choose a cursor or primary key.
Select the Cursor and Primary keys if there are dropdowns in those fields.
noteSource-defined cursors and primary keys cannot be changed while configuring multiple streams.
Click Apply to apply these changes to the streams you selected, or click Cancel to discard the changes.
Click Save changes, or click Cancel to discard the changes.
The Stream configuration changed dialog displays. This gives you the option to reset streams when you save the changes.
Airbyte recommends that you reset streams. A reset will delete data in the destination of the affected streams and then re-sync that data. Skipping a reset is discouraged and might lead to unexpected behavior.
- Click Save connection.