Defining event time for Kafka tables
The event time of a table tells Flink when each record happened. Cloudera SQL Stream Builder (SSB) uses it to compute windows and watermarks. You set it on the Event Time tab.
Event time settings
| Setting | Description |
|---|---|
| Use Kafka Timestamps | On by default. The event time is the timestamp that Kafka stores with each record. SSB reads it into an internal column. |
| Input Timestamp Column | Displayed when Use Kafka Timestamps is off. The column of your schema that holds the time of the event. |
| Event Time Column | The name of the event time column that SSB adds to the table. The default is
eventTimestamp. |
| Watermark Seconds | How many seconds a record can be late. The default is 3. |
To keep the default timestamps, see Using the default Kafka timestamps. To rename the column or change the watermark, see Using custom Kafka timestamps.
For the concepts, see Event time and watermarks.
