Create a Connection Contract
Last updated
Last updated
Connection Contracts (in input or in output) define how Data Mover connects with the Producer to receive files or with the Consumer to retrieve files. In both scenarios, Data Mover acts as a protocol server.
This contract defines:
the actor that sends files to Data Mover or collects them from Data Mover
the server
the virtual file system (VFS) and its path.
In input, the Connection Contract defines when Data Mover receives files from the Producer. The Producer, acting as the protocol client, initiates the connection to Data Mover, which acts as the protocol serverβ. β
In output, it defines when the Consumer connects to Data Mover to retrieve the files. The Consumer acts as the protocol client, establishing the connection, while Data Mover remains the protocol server.β
The Connection Contract consists of three main components:
This component establishes the relationship between an actor, a protocol, and the VFS, specifying the dataflow and access parameters.
This component links processing rules to VFS instructions, determining whether files are uploaded to or downloaded from the system, and specifies the associated metadata.
This component outlines the processes a file undergoes during transfer, including tasks such as encoding or compression.