|
1 |
| -# Edit stream configuration |
| 1 | +# Manage syncs |
2 | 2 |
|
3 |
| -By editing stream configurations, you can customize how your data syncs to the destination. This allows you to manage aspects of the sync, such as replication frequency, destination namespace, and ensuring your data is written to the correct location. |
| 3 | +After you have created a connection, you can change how your data syncs to the destination by modifying the [configuration settings](#configure-connection-settings) and the [stream settings](#modify-streams-in-your-connection). |
4 | 4 |
|
5 |
| -1. On the [Airbyte Cloud](http://cloud.airbyte.com) dashboard, click **Connections** and then click the connection you want to change. |
| 5 | +## Configure connection settings |
| 6 | + |
| 7 | +Configuring the connection settings allows you to manage various aspects of the sync, such as how often data syncs and where data is written. |
| 8 | + |
| 9 | +To configure these settings: |
| 10 | + |
| 11 | +1. On the [Airbyte Cloud](http://cloud.airbyte.com) dashboard, click **Connections** and then click the connection you want to change. |
6 | 12 |
|
7 | 13 | 2. Click the **Replication** tab.
|
8 | 14 |
|
9 |
| -The **Transfer** and **Streams** settings include the following parameters: |
| 15 | +3. Click the **Configuration** dropdown. |
| 16 | + |
| 17 | +You can configure the following settings: |
10 | 18 |
|
11 |
| -| Parameter | Description | |
| 19 | +:::note |
| 20 | + |
| 21 | +These settings apply to all streams in the connection. |
| 22 | + |
| 23 | +::: |
| 24 | + |
| 25 | +| Setting | Description | |
12 | 26 | |--------------------------------------|-------------------------------------------------------------------------------------|
|
13 | 27 | | Replication frequency | How often the data syncs |
|
| 28 | +| Destination namespace | Where the replicated data is written | |
| 29 | +| Destination stream prefix | How you identify streams from different connectors | |
14 | 30 | | [Non-breaking schema updates](https://docs.airbyte.com/cloud/managing-airbyte-cloud/manage-schema-changes/#review-non-breaking-schema-changes) detected | How Airbyte handles syncs when it detects non-breaking schema changes in the source |
|
15 |
| -| Destination Namespace | Where the replicated data is written | |
16 |
| -| Destination Stream Prefix | Helps you identify streams from different connectors | |
17 | 31 |
|
18 |
| -:::note |
19 |
| - |
20 |
| -These parameters apply to all streams in the connection. |
| 32 | +To use [cron scheduling](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html): |
21 | 33 |
|
22 |
| -::: |
23 |
| - |
24 |
| -If you need to use [cron scheduling](http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html): |
25 | 34 | 1. In the **Replication Frequency** dropdown, click **Cron**.
|
| 35 | + |
26 | 36 | 2. Enter a cron expression and choose a time zone to create a sync schedule.
|
27 | 37 |
|
28 | 38 | :::note
|
29 | 39 |
|
30 | 40 | * Only one sync per connection can run at a time.
|
31 |
| -* If cron schedules a sync to run before the last one finishes, the scheduled sync will start after the last sync completes. |
32 |
| -* Airbyte Cloud does not allow schedules that sync more than once per hour. |
| 41 | +* If a sync is scheduled to run before the previous sync finishes, the scheduled sync will start after the completion of the previous sync. |
| 42 | +* Airbyte Cloud does not support schedules that sync more frequently than once per hour. |
33 | 43 |
|
34 | 44 | :::
|
35 | 45 |
|
36 |
| -In the **Activate the streams you want to sync section**, you can make changes to any stream you choose. |
| 46 | +## Modify streams in your connection |
37 | 47 |
|
38 |
| -To search for a stream: |
| 48 | +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. |
39 | 49 |
|
40 |
| -1. Click the **Search stream name** search box. |
| 50 | +:::note |
| 51 | +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. |
| 52 | +::: |
| 53 | + |
| 54 | +To modify streams: |
| 55 | + |
| 56 | +1. On the [Airbyte Cloud](http://cloud.airbyte.com) dashboard, click **Connections** and then click the connection you want to change. |
| 57 | + |
| 58 | +2. Click the **Replication** tab. |
| 59 | + |
| 60 | +3. Scroll down to the **Activate the streams you want to sync** table. |
| 61 | + |
| 62 | +:::note |
41 | 63 |
|
42 |
| -2. Type the name of the stream you want to find. |
| 64 | +You can modify a single stream, or you can modify multiple streams at once. |
43 | 65 |
|
44 |
| -3. Streams matching your search are displayed in the list. |
| 66 | +::: |
45 | 67 |
|
46 |
| -To change individual stream configuration: |
| 68 | +Modify an individual stream: |
47 | 69 |
|
48 |
| - |
| 70 | + |
49 | 71 |
|
50 |
| -1. In the **Sync** column of the stream, toggle the sync on or off. |
| 72 | +1. In the **Activate the streams you want to sync** table, toggle **Sync** on or off for your selected stream. |
51 | 73 |
|
52 |
| -2. Click the dropdown arrow in the **Sync mode** column and select the sync mode you want to apply. |
| 74 | +2. Click the **Sync mode** dropdown and select the sync mode you want to apply. |
53 | 75 |
|
54 | 76 | :::note
|
55 | 77 |
|
56 | 78 | Depending on the sync mode you select, you may need to choose a cursor or primary key.
|
57 | 79 |
|
58 | 80 | :::
|
59 | 81 |
|
60 |
| -3. If there is a dropdown arrow in the **Cursor** or **Primary key** fields, click the dropdown arrow and choose the cursor or primary key. |
| 82 | +3. Select the **Cursor** or **Primary keys** when they are required by the stream sync mode. |
61 | 83 |
|
62 |
| -To change multiple stream configurations: |
| 84 | +:::note |
63 | 85 |
|
64 |
| - |
| 86 | +Source-defined cursors and primary keys are selected automatically and cannot be changed in the table. |
65 | 87 |
|
66 |
| -1. Click the first checkbox in the table header to select all streams in the connection. |
67 |
| - |
68 |
| -2. Deselect the checkboxes of streams you do not want to apply these changes to. |
| 88 | +::: |
| 89 | + |
| 90 | +4. Click on a stream to display the stream details panel. |
| 91 | + |
| 92 | +5. 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. |
69 | 93 |
|
70 |
| -3. In the highlighted header of the table, toggle the sync on or off. |
| 94 | +:::note |
| 95 | + |
| 96 | +* You can only deselect top-level fields. You cannot deselect nested fields. |
| 97 | +* 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. |
| 98 | +* When you refresh the schema, newly added fields will be selected by default, even if you have previously deselected fields in that stream. |
71 | 99 |
|
72 |
| -4. Click the dropdown arrow in the **Sync mode** column and select the sync mode you want to apply to these streams. |
| 100 | +::: |
73 | 101 |
|
74 |
| -5. If there is a dropdown arrow in the **Cursor** or **Primary key** fields of the highlighted table header, click the dropdown arrow and choose the cursor or primary key. |
| 102 | +6. Depending on the sync mode you chose for your connection, you can select the **Cursor** or **Primary keys** for individual fields in this table. |
75 | 103 |
|
76 |
| -6. Click **Apply** to apply these changes to the streams you selected, or click **Cancel** to discard the changes. |
| 104 | +7. Click the **X** to close the stream details panel. |
77 | 105 |
|
78 |
| -To save the changes: |
79 |
| -1. Click **Save changes**, or click **Cancel** to discard the changes. |
| 106 | +8. Click **Save changes**, or click **Cancel** to discard the changes. |
80 | 107 |
|
81 |
| -2. The **Stream configuration changed** dialog displays. This gives you the option to reset streams when you save the changes. |
| 108 | +9. The **Stream configuration changed** dialog displays. This gives you the option to reset streams when you save the changes. |
82 | 109 |
|
83 | 110 | :::caution
|
84 | 111 |
|
85 | 112 | 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.
|
86 | 113 |
|
87 | 114 | :::
|
88 | 115 |
|
89 |
| -3. Click **Save connection**, or click **Cancel** to close the dialog. |
| 116 | +10. Click **Save connection**. |
| 117 | + |
| 118 | +Modify multiple streams: |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | +1. In the **Activate the streams you want to sync** table, select the checkboxes of streams that you want to apply changes to. |
| 123 | + |
| 124 | +:::note |
90 | 125 |
|
91 |
| -To refresh the source schema: |
92 |
| -1. Click **Refresh source schema** to fetch the schema of your data source. |
| 126 | +To select or deselect all streams, click the checkbox in the table header. To deselect an individual stream, deselect its checkbox in the table. |
| 127 | + |
| 128 | +::: |
| 129 | + |
| 130 | +* In the highlighted footer of the table: |
| 131 | + |
| 132 | + 1. Toggle **Sync** on or off. |
| 133 | + |
| 134 | + 2. Click the **Sync mode** dropdown and select the sync mode you want to apply. |
| 135 | + |
| 136 | + :::note |
| 137 | + |
| 138 | + Depending on the sync mode you select, you may need to choose a cursor or primary key. |
| 139 | + |
| 140 | + ::: |
| 141 | + |
| 142 | + 3. Select the **Cursor** and **Primary keys** if there are dropdowns in those fields. |
| 143 | + |
| 144 | + :::note |
| 145 | + |
| 146 | + Source-defined cursors and primary keys cannot be changed while configuring multiple streams. |
| 147 | + |
| 148 | + ::: |
| 149 | + |
| 150 | + 4. Click **Apply** to apply these changes to the streams you selected, or click **Cancel** to discard the changes. |
| 151 | + |
| 152 | +2. Click **Save changes**, or click **Cancel** to discard the changes. |
| 153 | + |
| 154 | +3. The **Stream configuration changed** dialog displays. This gives you the option to reset streams when you save the changes. |
| 155 | + |
| 156 | +:::caution |
| 157 | + |
| 158 | +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. |
| 159 | + |
| 160 | +::: |
93 | 161 |
|
94 |
| -2. If the schema has changed, the **Refreshed source schema** dialog displays them. |
| 162 | +4. Click **Save connection**. |
0 commit comments