Final punctuation
Final punctuation is a special marker that indicates the end of a stream. Final
punctuation, called Sys.FinalMarker
in Streams Processing Language (SPL) and Punctuation::FinalMarker
when implemented in C++ primitive operators,
indicates that the stream no longer carries new tuples.
Sending final punctuation to an output port effectively closes the port. The operator discards all subsequent tuples and punctuation submitted to that port. Receiving final punctuation from all the streams that are connected to an input port indicates that it is effectively closed, and that no future tuples or punctuation will be received from that input port. By default, the Teracloud® Streams instance automatically manages final punctuation.
An input port that is connected to an Import operator does not receive a final punctuation marker.