Daniel E
10/31/2023, 6:56 AMkapa.ai
10/31/2023, 6:57 AMImage column to navigate to the connector's DockerHub page. 2. From there, click on the Tags section in the top bar. This will show you all the available versions of the connector, including any updates that have been made. If there is a newer version than the one you are currently using, it may include a fix for the bug you are experiencing. For more information, you can refer to the [Airbyte documentation on upgrading a connector](https://docs.airbyte.com/integrations/custom-connectors). If you need further assistance, you can also reach out to the Airbyte team in the [Connector Development section of the Airbyte Forum](https://github.com/airbytehq/airbyte/discussions).Daniel E
10/31/2023, 7:01 AMkapa.ai
10/31/2023, 7:02 AMDaniel E
10/31/2023, 7:15 AMkapa.ai
10/31/2023, 7:15 AMkapa.ai
10/31/2023, 7:18 AM/orders endpoint to fetch a list of orders. 2. The partition router for responses has to be configured like this: - "Parent key" is set to id - "Current partition value identifier" is set to order - In the general section of the stream configuration, the "URL Path" is set to /orders/{{ stream_partition.order }}/notes When triggering a sync, the connector will first fetch all records of the orders stream. The records will look like this: { "id": 123, "currency": "EUR", "shipping_total": "12.23", ... } { "id": 456, "currency": "EUR", "shipping_total": "45.56", ... } { "id": 789, "currency": "EUR", "shipping_total": "78.89", ... } To turn a record into a partition value, the "parent key" is extracted, resulting in the partition values 123, 456 and 789. In turn, this results in the following requests to fetch the records of the notes stream: curl -X GET <https://example.com/wp-json/wc/v3/orders/123/notes> curl -X GET <https://example.com/wp-json/wc/v3/orders/456/notes> curl -X GET <https://example.com/wp-json/wc/v3/orders/789/notes> This is a form of partitioning and can be used to implement incremental syncs if the API does not support it natively. However, please note that this requires a good understanding of the API and the data it returns. If you need more detailed information or guidance, you might want to check out the [Airbyte documentation](https://docs.airbyte.com/connector-development/) or consider reaching out to the Airbyte community for support.Daniel E
10/31/2023, 7:22 AMorder stream is tied to the order-note stream somehow? How do I implement pagination in the order-note stream in Airbyte github? Alternatively, is it possible to make this extension in my self-hosted setup, without creating a whole new connector?kapa.ai
10/31/2023, 7:22 AMkapa.ai
10/31/2023, 7:23 AMorder stream is indeed tied to the order-note stream. This is achieved through a mechanism called partitioning, where the id from each order is used to fetch the corresponding order-note from the API. To implement pagination in the order-note stream, you would need to use the Pagination section in the Connector Builder. This section implements the most common pagination methods used by APIs. When enabled, the connector will use the pagination configuration you have provided to request consecutive pages of data from the API until there are no more pages to fetch. The following pagination mechanisms are supported in the connector builder: - Offset Increment - Page Increment - Cursor Pagination You would need to select the matching pagination method for your API and configure it accordingly. More information about these methods can be found in the [Pagination section of the Airbyte documentation](https://docs.airbyte.com/connector-development/connector-builder-ui/pagination). As for making this extension in your self-hosted setup without creating a whole new connector, it's possible if the connector is written in a language you're comfortable with (Python or Java). You would need to fork the [Airbyte Github repo](https://github.com/airbytehq/airbyte), make your changes, and then use your modified version of the connector in your self-hosted Airbyte instance. However, please note that this requires a good understanding of the Airbyte codebase and the language the connector is written in.Daniel E
10/31/2023, 9:08 AMkapa.ai
10/31/2023, 9:08 AMkapa.ai
10/31/2023, 9:09 AMDaniel E
10/31/2023, 9:29 AMkapa.ai
10/31/2023, 9:29 AMkapa.ai
10/31/2023, 9:30 AM/tmp/workspace/9/2/ folder, 9 would be the workspace ID. 2. You can also understand the Docker run commands used internally by Airbyte. For example, Airbyte uses a Docker named volume called airbyte_workspace that is mounted in the container at the location /data. Please note that this method allows you to explore the workspace folders and Docker volumes, but it doesn't provide a list of all workspaces in a command-line or programmatic way. For more detailed information, you might want to check out the [Airbyte documentation on Browsing Output Logs](https://docs.airbyte.com/operator-guides/browsing-output-logs).kapa.ai
10/31/2023, 9:58 AMkapa.ai
10/31/2023, 9:58 AM