Composition Actions

Composition actions are the construct within which raw items are moved through the composition phase.

The composition phase starts when you initiate it using an event (InitiateCompositionEvent) or a POST request. The Data Hub then creates a composition action and opens the composition queue. It then composes raw items from the specified pool. The composition phase runs asynchronously, and the POST request returns immediately indicating the composition action is IN_PROGRESS. If you are using events, Data Hub fires several events that help track composition activity.

Data Hub deals with composition actions in one of two ways.
  1. All raw items are composed. Data Hub assigns the appropriate status to the composition action, and it is done.
  2. Composition continues until the datahub.max.composition.action.size is met. (Default size is 100,000.) At that point, Data Hub assigns the appropriate status to the composition action, and it is done. If further composition is needed, a new composition action is triggered.