Class MailboxWatermarkProcessor<OUT>
java.lang.Object
org.apache.flink.streaming.api.operators.MailboxWatermarkProcessor<OUT>
A helper class to let operators emit watermarks incrementally from mailbox. Instead of emitting
all the watermarks at once in a single
processWatermark call, if a mail in mailbox is
present, the process of firing timers is interrupted and a continuation to finish it off later is
scheduled via a mailbox mail.
Note that interrupting firing timers can change order of some invocations. It is possible that between firing timers, some records might be processed.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMailboxWatermarkProcessor(Output<StreamRecord<OUT>> output, org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor, InternalTimeServiceManager<?> internalTimeServiceManager) -
Method Summary
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG
-
-
Constructor Details
-
MailboxWatermarkProcessor
public MailboxWatermarkProcessor(Output<StreamRecord<OUT>> output, org.apache.flink.api.common.operators.MailboxExecutor mailboxExecutor, InternalTimeServiceManager<?> internalTimeServiceManager)
-
-
Method Details
-
emitWatermarkInsideMailbox
- Throws:
Exception
-