Skip to content

Should I use a sensor or an observable source asset? #14758

Answered by sryza
sryza asked this question in Q&A
Discussion options

You must be logged in to vote

Both sensors and observable source assets listen for external changes.

The main high-level conceptual different between sensors and observable source assets is that observable source assets decouple the "discover what changed" logic from the "decide what downstream assets should be materialized" logic.

  • A sensor is responsible for deciding what gets kicked off when it notices an external change.
  • An observable source asset just records (observes) the change. The auto-materialize policies on downstream assets determine whether they'll be rematerialized in response to changes.

A few other differences:

  • Observable source assets are currently marked experimental, while sensors are marked stable.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by garethbrickman
Comment options

You must be logged in to vote
1 reply
@sryza
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: sensor Related to Sensors area: external-assets Related to External Assets
2 participants