Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The timeout block enables you to handle sessions that have not been successfully closed, e g if the final UDR has not arrived.

...

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... https://infozone.atlassian.net/wiki/x/hcMkEg.

Validate

Use this button to compile check that 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 to the selected storage in the Aggregation profile. Different settings are available in batch and real-time workflows and will change based on the storage type configured within the selected Aggregation Profile selected in the General tab.

File Storage

...

Elasticsearch Storage and SQL Storage

...

Elasticsearch/SQL Storage Setting

Description

If Error Occurs in Storage

Select the action that the agent should take when an error occurs in the storage:

  • Ignore  - Discard the UDR.

  • Log Event  - Discard the UDR and generate a message in the System Log.

  • Route  - Send the UDR on the route selected from the on list. This is a list of output routes on which the UDR can be sent. The list is only activated if Route is selected.

Disable Timeout

Select this check box to disable the timeout handling.

Kafka Storage

When using Kafka storage, a disk-based cache will be created on the corresponding Execution Container (EC). Ensure that there is adequate disk space available to accommodate your specific configuration.

...

Kafka storage setting

Description

Change Topic Name

Select this setting if you want to update the name of the Kafka topic when creating scalable batch workflows.

Transaction Behavior

Emits

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 cancelBatch this causes the agent to emit a Cancel Batch.

...

Hint End Batch

...

If the code contains a call to the method hintEndBatch, this causes the agent to emit a Hint End Batch.

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 beginBatch function block, if present in the code.

End Batch

When an End Batch message is received, the agent calls the endBatch function blocks, if present in the code.

Prior to End Batch, possible timeouts are called. Thus, when a time limit is reached, the timeout function block will not be called until the next End Batch arrives. If the workflow is in the middle of a data batch or is not currently receiving any data at all, this could potentially be some time after the configured timeout.

Cancel Batch

When a Cancel Batch message is received, the agent calls the cancelBatch function block, if present in the code

, for example, if you create a new workflow and want it to point to the same topic as the previous one.