Skip to content

Stream control and graceful shutdown #43

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

Open
vladimirvivien opened this issue Jun 1, 2025 · 0 comments
Open

Stream control and graceful shutdown #43

vladimirvivien opened this issue Jun 1, 2025 · 0 comments
Assignees
Labels

Comments

@vladimirvivien
Copy link
Owner

vladimirvivien commented Jun 1, 2025

Currently, Automi implements a simplistic signal/control mechanism that implements a cascading close of channels when a predecessor component closes its output channel used as input by its successor. While this works in most cases, if a source closes its output while its successor operators are still processing.

Proposal - better stream control

This issue proposes stream control to be done using a combination of the followings:

  • Injecting control marker items directly in the pipeline
  • Centralized coordination via the stream orchestrator (implemented in the stream package)
  • Status report by each node operator attached to the stream.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant