Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
DefaultOutputPort needs to have a emitControl method so that operator code can call to emit a control tuple.
DefaultInputPort needs to have a processControl method so that operator would be able to act on the arrival of a control tuple.
Similar to a regular data tuple, we also need to provide a way for the user to provide custom serialization for the control tuple.
We need to design this so that the default behavior is to propagate control tuples to all output ports, and it should allow the user to easily change that behavior. The user can selectively propagate control tuples to certain output ports, or block the propagation altogether.