4. Using Integration Manager : Installing and Configuring the Aggregator Service : Configuration
 
Share this page                  
Configuration
To configure aggregators, you will need to update the aggregator-config.yml file.
Aggregator Properties
 
Property
Default Value
Description
name
 
Name of the aggregator
entity-id
 
The ID for which entity type to invoke
entity-type
 
The entity type for the aggregator.
Valid types (case-sensitive): jobconfig
account-id
 
Account ID that owns the entity
active
true
Specifies whether this particular aggregator is active
completion-size
200
The number of messages to aggregate before submitting the aggregated message to the listener API
completion-timeout
10000
The amount of time (in millisenconds) to wait after receiving the last message before submitting the aggregated message to the listener API
data-type
 
The data type for the submitted message to the aggregator API. This determines how the messages are aggregated.
Valid types (case-sensitive): record, xml, json
Example aggregator-config.yml configuration
aggregators:
  - name: Aggregator-Config-xml
    entity-id: 21
    entity-type: jobconfig
    account-id: 1
    active: true
    completion-size: 5
    completion-timeout: 5000
    data-type: xml
  - name: Aggregator-Config-json
    entity-id: 22
    entity-type: jobconfig
    account-id: 1
    active: true
    completion-size: 5
    completion-timeout: 5000
    data-type: json
  - name: Aggregator-Config-record
    entity-id: 23
    entity-type: jobconfig
    account-id: 1
    active: true
    completion-size: 5
    completion-timeout: 5000
    data-type: record