The batch Aggregation agent's configuration dialog contains the following tabs:
...
Item | Description |
---|---|
Code Area | This is where you write your APL code. For further information about the code area and its right-click menu, see Text Editor in <Administration and Management>. |
Compilation Test... | Use this button to compile your code and check that it is valid. The status of the compilation is displayed in a dialog. Upon failure, the erroneous line is highlighted and a message, including the line number, is displayed. |
Outline | Use this button to display or hide the APL Code Editor Outline navigation panel. The navigation panel provides a view of all the blocks, variables and methods in an APL code configuration and makes it possible to easily navigate between different types in the APL code. For further information on the Outline navigation panel, see <Administration and Management>. |
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
...
The agent emits commands that change the state of the file currently processed.
Command | Description |
---|---|
Cancel Batch | The agent itself does not emit Cancel Batch messages. However, if the code contains a call to the method |
Hint End Batch | If the code contains a call to the method |
Retrieves
The agent retrieves commands from other agents and, based on those commands, changes the state change of the file currently processed.
Command | Description |
---|---|
Begin Batch | When a Begin Batch message is received, the agent calls the |
End Batch | When an End Batch message is received, the agent calls the Prior to End Batch, possible timeouts are called. Thus, when a time limit is reached, the |
Cancel Batch | When a Cancel Batch message is received, the agent calls the |
Debug Events
Debug Events
Debug messages are dispatched in debug mode. During execution, the messages are displayed in the Workflow Monitor.
You can configure Event Notifications that are triggered when a debug message is dispatched. For further information about the debug event type, see Debug Event[hide]3.0[/hide].
The agent produces the following debug
eventevents:
- Aggregation Storage implementation
This event is reported during workflow
- initialization. It shows the selected storage type i e file storage ,Couchbase, or Redis.
You may also configure debug messages in the APL code.