Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 754 Bytes

kafka-streams-Punctuator.adoc

File metadata and controls

25 lines (19 loc) · 754 Bytes

Punctuator — Contract for Scheduled Periodic Actions

Punctuator is the contract to perform a scheduled periodic action (aka punctuate) on a record stream.

package org.apache.kafka.streams.processor;

interface Punctuator {
  void punctuate(long timestamp);
}
Table 1. Punctuator Contract
Method Description

punctuate

Used exclusively when ProcessorNode is requested to punctuate.

Punctuator can be scheduled (registered) on a ProcessorContext.