-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
estuary-cdk and new connectors #1293
Commits on Mar 2, 2024
-
estuary-cdk: introduce new connector development kit
The Estuary CDK differs from the earlier flow-sdk in fundamental ways: * It leans heavily into Pydantic V2 (with a polyfill for V1), which is used for validation and schema generation, married with Flow's schema inference capabilities. * It has a framework -> connector -> library structure. The framework is maximally unopinionated as to how a connector is built. But, the CDK offers library routines (the `common` module) which encapsulates the common patterns for fetch snapshot or incremental resources. * It's async at it's core. All work proceeds concurrently across all bindings.
Configuration menu - View commit details
-
Copy full SHA for df9eb5e - Browse repository at this point
Copy the full SHA df9eb5eView commit details -
source-hubspot-native: add real-time HubSpot connector
Still missing a bunch of entities, but functional.
Configuration menu - View commit details
-
Copy full SHA for 2b9d347 - Browse repository at this point
Copy the full SHA 2b9d347View commit details -
Configuration menu - View commit details
-
Copy full SHA for c79039b - Browse repository at this point
Copy the full SHA c79039bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d416c9 - Browse repository at this point
Copy the full SHA 3d416c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7faa8bc - Browse repository at this point
Copy the full SHA 7faa8bcView commit details -
estuary-cdk: update FetchChangesFn to be an AsyncGenerator of either …
…wocuments or a LogCursor This avoids implementations from having to know the maximum LogCursor until they're done reading documents, and avoids nested async generators. Also add a BasicAuth credential type.
Configuration menu - View commit details
-
Copy full SHA for 7241cde - Browse repository at this point
Copy the full SHA 7241cdeView commit details -
estuary-cdk: refactor HTTPSesion to use request_stream
request_stream() is an AsyncGenerator over arbitrary stream chunks. Then, request() and a new request_lines() are implemented in terms of request_stream(). This allows callers to efficiently process unbounded responses.
Configuration menu - View commit details
-
Copy full SHA for fd41925 - Browse repository at this point
Copy the full SHA fd41925View commit details -
estuary-cdk: FetchChangesFn contract now allows for incremental strea…
…ming Rework the contract to allow implementations to yield checkpoints at times of their choosing. This allows for more ergonomic handling of long-lived push streams of documents.
Configuration menu - View commit details
-
Copy full SHA for b3aac11 - Browse repository at this point
Copy the full SHA b3aac11View commit details -
introduce new actions workflow for python connectors
Begin to factor out common setup steps into reuseable composite actions. Add a common estuary-cdk Dockerfile
Configuration menu - View commit details
-
Copy full SHA for 617457b - Browse repository at this point
Copy the full SHA 617457bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 249844e - Browse repository at this point
Copy the full SHA 249844eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00c1431 - Browse repository at this point
Copy the full SHA 00c1431View commit details -
estuary-cdk: don't schematize /_meta/uuid
The runtime currently uses a non-UUID placeholder internally, which causes spurious schema violations
Configuration menu - View commit details
-
Copy full SHA for f4f913e - Browse repository at this point
Copy the full SHA f4f913eView commit details -
estuary-cdk: remove global Logger and adopt ordering convention
Establish a convention that `log: Logger` is the first parameter. We're going to be threading these through everywhere -- which is desireable, because it gives us a tightly-scoped structured log context that tells us as much as possible about the surrounding task -- so let's standardize how it should be passed so we don't have to think hard about it. Also refactor `http` module to clarify APIs which are stable, vs portions that are very likely to be refactored. A few other code-review cleanups as well.
Configuration menu - View commit details
-
Copy full SHA for e362484 - Browse repository at this point
Copy the full SHA e362484View commit details -
estuary-cdk: remove
namespace
from common.ResourceConfigWe don't need it yet, so let's not have it.
Configuration menu - View commit details
-
Copy full SHA for e0c7983 - Browse repository at this point
Copy the full SHA e0c7983View commit details