question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make resources available to sensors

See original GitHub issue

Use Case

If a certain row appears in our database, a pipeline run should be executed. This needs to be checked every 5 minutes. Checking the table requires a authenticated database client, which is already existing and used by the same pipeline, it handles authentication during initialization.

Ideas of Implementation

Just take the resource which is given to the pipeline (depending on the mode) and make it available with the required_resource_keys like it’s done with the solids.

Additional

Thank you and keep up the good work guys, I really like to work with dagster.


Message from the maintainers:

Excited about this feature? Give it a 👍. We factor engagement into prioritization.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:32
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
VladX09commented, Sep 10, 2021

A really good request. Most of sensors watch external resources (APIs, S3 buckets, DBs, queues) to trigger pipeline. It would be nice to configure external resources for solids and sensors in the same way. It will also make unit testing and mocking more consistent

1reaction
johannkmcommented, Apr 18, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Build a Sensor - University of Warwick
Designs for 4 low technology, easy-to-recreate sensors. Build a circuit that responds to inputs and shows you outputs - and how that makes...
Read more >
Resource Guide for Air Sensors and Related Educational ...
Air sensor technologies provide many opportunities for educational enrichment on topics ranging from air quality, pollution sources, ...
Read more >
Tools to Help You Write Apps That Use Sensors
Here are a few resources to help you get started. ... which means a developer must create an app to monitor the sensor...
Read more >
Advancements create easy-to-use sensors
Significant advances have been made in delivering high-performance, low-cost, easy-to-use sensors for a diverse range of physical phenomena, ...
Read more >
Sensors Overview - Android Developers
The Android sensor framework provides several methods that make it easy for you to determine at runtime which sensors are on a device....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found