Closed markheger closed 4 years ago
merged to branch feature/punct
Stream.for_each() support punctuation handling
class FEClass(object):
def __call__(self, t):
return None
def on_punct(self):
print ('window punctuation marker received')
...
...
s.for_each(FEClass(), name='SinkHandlingPunctuations', process_punct=True)
Stream.for_each() merged to feature/punct branch
merged to develop branch for 1.16.0a
Need support for work with received window punctuation markers in SPL Python primitive operator and Sink.
Example definition of an SPL Python primitive operator with punctuation handling::
Example definition with handling window punctuations SPL Python primitive sink operator::