Understanding the Airbyte CDK #2: discover
command
#33816
marcosmarxm
started this conversation in
Guides & Tutorials
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How the Airbyte CDK discover command works
Discover
- Discover the Source's schema. This let users select what a subset of the data to sync. Useful if users require only a subset of the data.The discover will calls the
streams
function which you need to implement in your connector and return theAirbyteCatalog
to the user select what streams they want and generate theAirbyteConfiguredCatalog
.In most cases the
streams
function implementation looks. The example uses the Linnworks connector. It only instantiate the streams and returning a list.More complex cases will use data from the spec and add or remove streams. Some cases where this can happens is:
Example from Hubspot connector. Where if the spec configured is using
oauth
it has much more access compared to theapi key
method.Beta Was this translation helpful? Give feedback.
All reactions