Airbyte in Mage
Trigger a connection sync in Airbyte.
Airbyte cloud
Try our fully managed solution to access this advanced feature.
Configuration
Mage Pro supports triggering Airbyte Cloud connection syncs directly from your data pipelines. To connect to Airbyte Cloud, you need to configure the following keyword arguments.
Keyword argument | Description | Default value |
---|---|---|
use_cloud | Wheter to use Airbyte Cloud | False |
client_id | Airbyte cloud application client_id | None |
client_secret | Airbyte cloud application client_secret | None |
Refer to the Airbyte documentation to retrieve your client_id
and client_secret
.
Example data loader
You can either explicitly hard code the connection_id
in the data loader block
or you can add the value of the connection_id
as a runtime variable.
from mage_ai.services.airbyte import Airbyte
Open source
Configuration
Here are the following keyword arguments that can be used to configure Airbyte
:
Keyword argument | Description | Default value |
---|---|---|
api_version | API version | v1 |
host | Airbyte server host | host.docker.internal |
password | Password to log into Airbyte | password |
port | Airbyte server port | 8000 |
use_ssl | If True , then service will use HTTPS | False |
username | Username to log into Airbyte | airbyte |
Example code
Sample result:
Example data loader
You can either explicitly hard code the connection_id
in the data loader block
or you can add the value of the connection_id
as a runtime variable.
Was this page helpful?