Concepts
The Bulker is responsible for bringing together individual transactions or elements, and acts initially as a temporary storage area where an IPF flow can store elements that will eventually end up in a bulk file. When instructed, the Bulker will stream each stored item, in a preconfigured order, to a file at a predefined location. A bulk must be created before any elements can be added. Along with the items themselves, the Bulker can use preconfigured templates to include headers, footers and intermediary constructs in the final file.
Key Concepts
The following are key concepts which are explored in more detailed within the features section. They are explained here to show how these concepts relate to each other.
Triggers
The trigger for streaming the stored elements to file (i.e. performing the act of bulking) can be a command sent from the IPF Implementation that set up the Bulk and provided the elements, or, it can come automatically. Automatic finalisation can be time based, either point in time (e.g. 17.00 UTC) or periodic (e.g. every hour) intervals; or it could be based on the characteristics of the Bulk such as number of elements or estimated total size of the output file. The method of finalisation is defined at the point the Bulk is first created.
Recurring Bulks
In a situation when elements will continue to be generated and need to be stored, even after a Bulk has been finalised and a file created, the Bulk can be given the "Recurrence" characteristic. In this situation the closing of one Bulk will automatically trigger the creation of a new Bulk, with identical configuration, for subsequent elements to be added to.