You are here: Decision Strategy Manager > Data Flows > Creating a real-time run for data flows
Creating a real-time run for data flows
You can create real-time runs for data flows that have a Stream data set as the primary input. Data flow runs that are initiated through the Data Flows landing page process data in the access group context. They always use the checked-in instance of the data flow rule and the referenced rules.
- Click Designer Studio> Decisioning > Decisions > Data Flows > Real-time processing.
- In the Real-time processing tab, click New.
- Specify the Applies To class, the data flow name, and the access group.
- Specify the URL for external access and the number of requestors.
- Optional: Click the Advanced section.
Specify a pre-processing activity that you want to run before running of the data flow.
Specify a post-processing activity that you want to run after running of the data flow.
Each activity is located in its Applies To class.
- Optional: For data flows that contain an event strategy rule, configure how to save the state of your data flow work items in the State Management section:
- Specify the persistence type:
- Memory - This persistence type keeps the event strategy state in running memory and writes the output to a destination when the data flow finishes running. The data is processed faster, but it can be lost if a system failure occurs.
- Database - This persistence type periodically replicates the state of an event strategy to the Cassandra database located in the Decision Data Store and stores it in the form of key values. When you select this type of data persistence, if a system failure occurs, you can fully restore the state of the event strategy and continue processing data.
- Specify the frequency for storing the state of the event strategy:
- Enter the elapsed time (in seconds) between the consecutive event strategy store operations.
- Enter the number of events between the consecutive event strategy store operations.
- Click Done.
- In the Run details window that opens, click Start to run your data flow. The Run details window contains the progress and statistics of your data flow work item.
Open topic with navigation