The batch Aggregation agent's configuration dialog contains the following tabs:
Aggregation - This tab contains the three subsidiary tabs, General , APL Code and Storage.
Thread Buffer - For further information about the Thread Buffer tab, see Workflow Template.
General Tab
The General tab enables you to assign an Aggregation profile to the agent and to define error handling.
With the Error Handling settings, you can decide what you want to do if no timeout has been set in the code or if there are unmatched UDRs.
...
The Aggregation agent configuration dialog - General tab
Setting | Description | ||
---|---|---|---|
Profile | In batch workflows, the profile must use file storage, Elasticsearch or SQL. All the workflow instances in the same workflow template can use different Aggregation profiles. For this to work, the profile has to be set to Default in the Field settings tab in the Workflow Properties dialog. After that, each workflow in the Workflow Table can be assigned with the correct profile. | ||
Force Read Only | Select this check box to only use the Aggregation Storage for reading aggregation session data. Selecting this check box also means that the agent cannot create new sessions when an incoming UDR cannot be matched to an existing session. A UDR for which no matching session is found is handled according to the setting If No UDR Match is Found. If you enable the read only mode, timeout and defragmentation handling is also disabled.
| ||
If Timeout is Missing | Select the action to take if timeout for sessions is not set in the APL code using The available options are:
| ||
If No UDR Match is Found | Select the action that the agent should take when a UDR that arrives does not match any session, and Create Session on Failure is disabled:
|
APL Code Tab
Excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
The APL Code tab enables you to manage the detailed behavior of the Aggregation agent. You use the Analysis Programming Language (APL) with some limitations but also with additional functionality. For further information see the APL Reference Guide. The main function block of the code is The Aggregation agent configuration dialog - APL Code tab
|
Storage Tab
The Storage tab contains settings that are specific for the selected storage in the Aggregation profile. Different settings are available in batch and real-time workflows.
File Storage
...
The Aggregation agent configuration dialog - Storage tab for File Storage
Setting | Description |
---|---|
Defragment Session Storage Files | For batch workflows, the Aggregation session storage can optionally be defragmented to minimize disk usage. When checked, configure the defragmentation parameters: |
Defragment After Every [] Batch(es) | Run defragmentation after the specified number of batches. Enter the number of batches to process before each defragmentation. |
Defragment if Batch(es) Finishes Within [] Second(s) | Set a value to limit how long the defragmentation is allowed to run. This time limitation depends on the execution time of the last batch processed. If the last batch is finished within the specified number of seconds, the remaining time will be used for the defragmentation. The limit accuracy is +/- 5 seconds. |
Defragment Session Files Older Than [] Minute(s) | Run defragmentation on session storage files that are older than this value to minimize moving recently created sessions unnecessarily often. |
Elasticsearch Storage and SQL Storage
...
The Aggregation agent configuration agent - Storage tab for Elasticsearch
...
The Aggregation agent configuration agent - Storage tab for SQL
Setting | Description |
---|---|
If Error Occurs in Storage | Select the action that the agent should take when an error occurs in the storage:
|
Disable Timeout | Select this check box to disable the timeout handling. |