Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Track events in Managed Service for Apache Flink using the DataStream API

Focus mode
Track events in Managed Service for Apache Flink using the DataStream API - Managed Service for Apache Flink

Amazon Managed Service for Apache Flink was previously known as Amazon Kinesis Data Analytics for Apache Flink.

Amazon Managed Service for Apache Flink was previously known as Amazon Kinesis Data Analytics for Apache Flink.

Managed Service for Apache Flink tracks events using the following timestamps:

  • Processing Time: Refers to the system time of the machine that is executing the respective operation.

  • Event Time: Refers to the time that each individual event occurred on its producing device.

  • Ingestion Time: Refers to the time that events enter the Managed Service for Apache Flink service.

You set the time used by the streaming environment using setStreamTimeCharacteristic.

env.setStreamTimeCharacteristic(TimeCharacteristic.ProcessingTime); env.setStreamTimeCharacteristic(TimeCharacteristic.IngestionTime); env.setStreamTimeCharacteristic(TimeCharacteristic.EventTime);

For more information about timestamps, see Generating Watermarks in the Apache Flink documentation.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.