Skip to content
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

Add Stream-based Control Flow for Observation Emitter #5

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

RobbieMcKinstry
Copy link
Contributor

This commit introduces tokio streams to control how often a third-party
adapter is called to fetch data from a data source. The adapter is called
on an interval using a timer, and the results are chunked before being
returned as a stream.

It adds a simple stream-based pipeline to gather observations
as they're emitted by a local cache. It plumbs together a futures API
to make event handling nature and easy.

chore: Add stream-based control flow for third-party adapters.

This commit introduces tokio streams to control how often a third-party
adapter is called to fetch data from a data source. The adapter is called
on an interval using a timer, and the results are chunked before being
returned as a stream.

It adds a simple stream-based pipeline to gather observations
as they're emitted by a local cache. It plumbs together a futures API
to make event handling nature and easy.

chore: Add stream-based control flow for third-party adapters.
Copy link
Contributor Author

RobbieMcKinstry commented Oct 17, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RobbieMcKinstry and the rest of your teammates on Graphite Graphite

@RobbieMcKinstry RobbieMcKinstry requested a review from a team October 17, 2024 22:14
@RobbieMcKinstry RobbieMcKinstry added the enhancement New feature or request label Oct 17, 2024 — with Graphite App
@RobbieMcKinstry RobbieMcKinstry marked this pull request as ready for review October 17, 2024 22:14
@RobbieMcKinstry RobbieMcKinstry added this pull request to the merge queue Oct 17, 2024
Merged via the queue into trunk with commit 4db4038 Oct 17, 2024
4 checks passed
@RobbieMcKinstry RobbieMcKinstry deleted the robbie/fut-stream branch October 17, 2024 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant