Airbyte connectors QA checks
This document is listing all the static-analysis checks that are performed on the Airbyte connectors. These checks are running in our CI/CD pipeline and are used to ensure a connector is following the best practices and is respecting the Airbyte standards. Meeting these standards means that the connector will be able to be safely integrated into the Airbyte platform and released to registries (DockerHub, Pypi etc.). You can consider these checks as a set of guidelines to follow when developing a connector. They are by no mean replacing the need for a manual review of the connector codebase and the implementation of good test suites.
๐ Documentationโ
Breaking changes must be accompanied by a migration guideโ
Applies to the following connector types: source, destination Applies to the following connector languages: java, low-code, python Applies to connector with any support level Applies to connector with any Airbyte usage level
When a breaking change is introduced, we check that a migration guide is available. It should be stored under ./docs/integrations/<connector-type>s/<connector-name>-migrations.md
.
This document should contain a section for each breaking change, in order of the version descending. It must explain users which action to take to migrate to the new version.
Connectors must have user facing documentationโ
Applies to the following connector types: source, destination Applies to the following connector languages: java, low-code, python Applies to connector with any support level Applies to connector with any Airbyte usage level
The user facing connector documentation should be stored under ./docs/integrations/<connector-type>s/<connector-name>.md
.
Connectors must have a changelog entry for each versionโ
Applies to the following connector types: source, destination Applies to the following connector languages: java, low-code, python Applies to connector with any support level Applies to connector with any Airbyte usage level
Each new version of a connector must have a changelog entry defined in the user facing documentation in ./docs/integrations/<connector-type>s/<connector-name>.md
.
๐ Metadataโ
Connectors must have valid metadata.yaml fileโ
Applies to the following connector types: source, destination Applies to the following connector languages: java, low-code, python Applies to connector with any support level Applies to connector with any Airbyte usage level
Connectors must have a metadata.yaml
file at the root of their directory. This file is used to build our connector registry. Its structure must follow our metadata schema. Field values are also validated. This is to ensure that all connectors have the required metadata fields and that the metadata is valid. More details in this documentation.
Connector must have a language tag in metadataโ
Applies to the following connector types: source, destination Applies to the following connector languages: java, low-code, python Applies to connector with any support level Applies to connector with any Airbyte usage level
Connectors must have a language tag in their metadata. It must be set in the tags
field in metadata.yaml. The values can be language:python
or language:java
. This checks infers the correct language tag based on the presence of certain files in the connector directory.
Python connectors must have a CDK tag in metadataโ
Applies to the following connector types: source, destination Applies to the following connector languages: python, low-code Applies to connector with any support level Applies to connector with any Airbyte usage level
Python connectors must have a CDK tag in their metadata. It must be set in the tags
field in metadata.yaml. The values can be cdk:low-code
, cdk:python
, or cdk:file
.
Breaking change deadline should be a week in the futureโ
Applies to the following connector types: source, destination Applies to the following connector languages: java, low-code, python Applies to connector with any support level Applies to connector with any Airbyte usage level
If the connector version has a breaking change, the deadline field must be set to at least a week in the future.
Certified source connector must have a value filled out for maxSecondsBetweenMessages in metadataโ
Applies to the following connector types: source Applies to the following connector languages: java, low-code, python Applies to connector with certified support level Applies to connector with any Airbyte usage level
Certified source connectors must have a value filled out for maxSecondsBetweenMessages
in metadata. This value represents the maximum number of seconds we could expect between messages for API connectors. And it's used by platform to tune connectors heartbeat timeout. The value must be set in the 'data' field in connector's metadata.yaml
file.
๐ฆ Packagingโ
Connectors must use Poetry for dependency managementโ
Applies to the following connector types: source, destination Applies to the following connector languages: python, low-code Applies to connector with any support level Applies to connector with any Airbyte usage level
Connectors must use Poetry for dependency management. This is to ensure that all connectors use a dependency management tool which locks dependencies and ensures reproducible installs.
Connectors must be licensed under MIT or Elv2โ
Applies to the following connector types: source, destination Applies to the following connector languages: java, low-code, python Applies to connector with any support level Applies to connector with any Airbyte usage level
Connectors must be licensed under the MIT or Elv2 license. This is to ensure that all connectors are licensed under a permissive license. More details in our License FAQ.
Connector license in metadata.yaml and pyproject.toml file must matchโ
Applies to the following connector types: source, destination Applies to the following connector languages: python, low-code Applies to connector with any support level Applies to connector with any Airbyte usage level
Connectors license in metadata.yaml and pyproject.toml file must match. This is to ensure that all connectors are consistently licensed.
Connector version must follow Semantic Versioningโ
Applies to the following connector types: source, destination Applies to the following connector languages: java, low-code, python Applies to connector with any support level Applies to connector with any Airbyte usage level
Connector version must follow the Semantic Versioning scheme. This is to ensure that all connectors follow a consistent versioning scheme. Refer to our Semantic Versioning for Connectors for more details.
Connector version in metadata.yaml and pyproject.toml file must matchโ
Applies to the following connector types: source, destination Applies to the following connector languages: python, low-code Applies to connector with any support level Applies to connector with any Airbyte usage level
Connector version in metadata.yaml and pyproject.toml file must match. This is to ensure that connector release is consistent.
Python connectors must have PyPi publishing enabledโ
Applies to the following connector types: source Applies to the following connector languages: python, low-code Applies to connector with any support level Applies to connector with any Airbyte usage level
Python connectors must have PyPi publishing enabled in their metadata.yaml
file. This is declared by setting remoteRegistries.pypi.enabled
to true
in metadata.yaml. This is to ensure that all connectors can be published to PyPi and can be used in PyAirbyte
.
๐ผ Assetsโ
Connectors must have an iconโ
Applies to the following connector types: source, destination Applies to the following connector languages: java, low-code, python Applies to connector with any support level Applies to connector with any Airbyte usage level
Each connector must have an icon available in at the root of the connector code directory. It must be an SVG file named icon.svg
and must be a square.