Understanding the Airbyte CDK #2: discover command
#33816
Closed
M. Marx (marcosmarxm)
started this conversation in
Guides & Tutorials
Replies: 1 comment
|
This discussion has had no comments and limited activity for over a year. The Airbyte platform has changed significantly since it was created, so the context here may no longer apply. Closing as part of a cleanup effort. If this topic is still relevant, please start a fresh discussion so it gets the attention it deserves. Thank you! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
streamsfunction which you need to implement in your connector and return theAirbyteCatalogto the user select what streams they want and generate theAirbyteConfiguredCatalog.In most cases the
streamsfunction 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
oauthit has much more access compared to theapi keymethod.All reactions