Skip to main content

Timestamp Stream

Synopsis

This operator puts a timestamp on the events of a stream (assigns it to the key provided as parameter).

Description

This is a streaming operator and needs to be placed inside a Streaming Nest or a Streaming Optimization operator. The operator defines the logical functionality and can be used in all streaming analytic workflow for any supported streaming platform (currently Flink and Spark). The actual implementation used depends on the type of connection connected to the Streaming Nest operator in which this operator gets placed.

Input

input stream

The input of this streaming operation. It needs to receive the output of a preceding streaming operator, to define the flow of data events in the streaming analytic workflow.

Output

output stream

The output of this streaming operation. Connect it to the next Streaming operator to define the flow of the data events in the designed streaming analytic workflow.

Parameters

Key

Key, which the timestamp is to be associated with.

Format as number

If true, the Unix time will be used as long value.

Date format

Format, which the timestamp should be serialized into.