T - Type of the elements emitted by this source.public interface EventTimeSourceFunction<T> extends SourceFunction<T>
SourceFunctions that emit elements with
timestamps. The SourceFunction can extract the timestamp from the data and attach it to
the element upon emission.
Event-time sources must manually emit
watermarks to keep track of progress.
Automatic emission of watermarks will be suppressed if a source implements this interface.
Elements must be emitted using
SourceFunction.SourceContext.collectWithTimestamp(Object, long)
and watermarks can be emitted using
SourceFunction.SourceContext.emitWatermark(org.apache.flink.streaming.api.watermark.Watermark).
SourceFunction.SourceContext<T>cancel, runCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.