Comments (1)
Correct. The flow is tied to producers. The best way to solve this is to start the flow and its consumer Under the same supervisor. Make it so the strategy is one_for_all and max_restarts is zero. This way when the child terminates, the supervisor will kill the flow.
This supervisor itself can be under a dynamic supervisor, so you can start multiple of them.
from flow.
Related Issues (20)
- Unhelpful Error Message HOT 3
- Exceptions in Flow killing parent Oban process HOT 4
- Session windows are mentioned as supported but are not HOT 1
- Need help understanding back pressure HOT 1
- :no_proc errors when GenStage finishes quickly HOT 7
- Combining `Flow.shuffle/2` with `Flow.start_link/2` raises an error about unknown option `:dispatcher` HOT 4
- Access previous windows HOT 2
- Flow.from_specs and failed starts HOT 4
- Carve events into windows by count and timeout HOT 1
- Clarify :full_outer v :outer joins HOT 1
- GenServer.start/3 Dialyzer Issues in Flow.Coordinator HOT 2
- bypassing to next partition (eliminating passthrough traffic) HOT 4
- error logged, but works? HOT 4
- Spec Incorrect in Flow.into_specs/3 HOT 1
- from_stages - noproc errors when GenStage producer finishes early HOT 4
- segmentation fault HOT 6
- noproc errors - connecting finite GenStage to Flow.partition HOT 2
- Possible Issue With Flow.through_specs/3 HOT 2
- Flow.map_batch/2 fails with CaseClauseError HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flow.