connect icon indicating copy to clipboard operation
connect copied to clipboard

Input resources in streams mode should fan out their events

Open mariosant opened this issue 3 years ago • 1 comments

The input resources in streams mode are not actually "shared". They are bound to one processor while the whole concept of sharing is to be able for multiple ones to use the same instance instead.

We had this discussion on Discord that may be useful: https://discord.com/channels/746368194196799589/754099840354615296/977130940981710878

mariosant avatar May 20 '22 12:05 mariosant

Thanks @mariosant, I've marked this as both a documentation issue as well as an enhancement as we definitely need to make the greedy brokering behaviour of resource inputs clear in the docs. Then it'd be good to offer some mechanism for properly fanning out an input resource across all consumers.

Resources are super dynamic which potentially makes it difficult to have a stateful broker necessary for fanning out, but we could potentially lean into inproc inputs and outputs for providing the fan out behaviour.

Jeffail avatar May 23 '22 16:05 Jeffail