Interface Punctuator
public interface Punctuator
A functional interface used as an argument to 
ProcessorContext.schedule(Duration, PunctuationType, Punctuator).- See Also:
- Cancellable
- 
Method SummaryModifier and Type Method Description voidpunctuate(long timestamp)Perform the scheduled periodic operation.
- 
Method Details- 
punctuatevoid punctuate(long timestamp)Perform the scheduled periodic operation.If this method accesses ProcessorContextorProcessorContext, record metadata like topic, partition, and offset orRecordMetadatawon't be available.Furthermore, for any record that is sent downstream via ProcessorContext.forward(Object, Object)orProcessorContext.forward(Record), there won't be any record metadata. IfProcessorContext.forward(Object, Object)is used, it's also not possible to set records headers.- Parameters:
- timestamp- when the operation is being called, depending on- PunctuationType
 
 
-