close
Skip to content

Latest commit

 

History

History

README.md

examples/

This folder holds a variety of examples and proof-of-concepts using Estuary.

Using these examples

These examples are written as Data Flow YAML specifications, and demonstrate how to manage Estuary's data pipelines using files checked into a git repository. You would typically use flowctl catalog test and flowctl catalog publish in order to test and publish YAML specifications. But you would need to change the names to use a prefix that you have admin access to in order to actually run these yourself.

Note that these examples are tested with flowctl raw test, which runs a catalog's tests entirely locally. That is distinct from flowctl catalog test, which runs tests on the server side and performs authorization checks (those would fail here, because users don't have access to these prefixes in the Estuary control-plane). The specs themselves are the same either way.

Running All Tests

Estuary makes it easy to write tests that verify the end-to-end behaviors of catalog collections. We recommend that every Estuary catalog include tests, and these examples are no exception:

$ flowctl raw test --source examples/flow.yaml

You can also directly test catalog sources which are hosted remotely:

$ flowctl raw test --source https://raw.githubusercontent.com/estuary/flow/master/examples/all.flow.yaml

Examples

Reference