All Products
Search
Document Center

Dataphin:Real-time mode state configuration

Last Updated:Jan 21, 2025

State is a critical feature in Flink that allows real-time tasks to maintain and manage data status effectively. Configuring the state data's expiration time enhances resource utilization, memory management, data consistency, and fault tolerance. This topic outlines the steps to configure state expiration time for Flink real-time tasks.

Procedure

  1. For detailed instructions, refer to the referenced document to navigate to the Real-time Mode configuration page.

  2. Within the state Configuration section, set the State Configuration parameters for the task's real-time mode.

    image

    The state data's default expiration time is set to 36 hours. You may adjust this duration to days, hours, minutes, or seconds. If left unspecified, the job engine version's default value will be applied.

  3. To finalize the configuration, click OK.