View Source Skitter.BIS.StreamSource (Skitter v0.5.1)
Strategy for stream-based source components.
This strategy can be used to create a source component. It is designed for components which generate a stream of data that is to be sent into the workflow.
When the component is deployed, this strategy will spawn a single worker and call the components
stream
callback. This callback should return a stream. Once deployed, the elements of this
stream will be emitted by one by one. The strategy ensures these values are shuffled over the
available worker nodes.
Component Properties
- in ports: none
- out ports: a single out port.
- callbacks:
stream
: Called at deployment time. This callback should return a stream, which will be emitted once the component has been deployed.