GCP Storage Forwarding Agent Transaction Behavior

The transaction behaviour for the GCP Storage forwarding agent is presented here.

Emits

This agent does not emit anything.

Retrieves

The agent retrieves commands from other agents and based on them generates a state change of the file currently processed.

Command

Description

Command

Description

Begin Batch

When a Begin Batch message is received, the temporary directory DR_TMP_DIR is first created in the target directory, if not already created. Then a target file is created and opened in the temporary directory.

End Batch

When an End Batch message is received, the target file in DR_TMP_DIR is first closed and then the  Command, if specified in  After Treatment, is executed. Finally, the file is moved from the temporary directory to the target directory.

Cancel Batch

If a Cancel Batch message is received, the target file is removed from the DR_TMP_DIR directory.