//tag::ref-doc[] = Aggregator Processor Aggregator processor enables an application to aggregates incoming messages into groups and release them into an output destination. `java -jar aggregator-processor-kafka-.jar --aggregator.message-store-type=jdbc` Change kafka to rabbit if you want to run it against RabbitMQ. === Payload == Options //tag::configuration-properties[] Properties grouped by prefix: === aggregator $$aggregation$$:: $$SpEL expression for aggregation strategy. Default is collection of payloads.$$ *($$Expression$$, default: `$$$$`)* $$correlation$$:: $$SpEL expression for correlation key. Default to correlationId header.$$ *($$Expression$$, default: `$$$$`)* $$group-timeout$$:: $$SpEL expression for timeout to expiring uncompleted groups.$$ *($$Expression$$, default: `$$$$`)* $$message-store-entity$$:: $$Persistence message store entity: table prefix in RDBMS, collection name in MongoDb, etc.$$ *($$String$$, default: `$$$$`)* $$message-store-type$$:: $$Message store type.$$ *($$String$$, default: `$$$$`)* $$release$$:: $$SpEL expression for release strategy. Default is based on the sequenceSize header.$$ *($$Expression$$, default: `$$$$`)* === spring.data.mongodb $$authentication-database$$:: $$Authentication database name.$$ *($$String$$, default: `$$$$`)* $$auto-index-creation$$:: $$Whether to enable auto-index creation.$$ *($$Boolean$$, default: `$$$$`)* $$database$$:: $$Database name.$$ *($$String$$, default: `$$$$`)* $$field-naming-strategy$$:: $$Fully qualified name of the FieldNamingStrategy to use.$$ *($$Class$$, default: `$$$$`)* $$grid-fs-database$$:: $$$$ *($$String$$, default: `$$$$`)* $$host$$:: $$Mongo server host. Cannot be set with URI.$$ *($$String$$, default: `$$$$`)* $$password$$:: $$Login password of the mongo server. Cannot be set with URI.$$ *($$Character[]$$, default: `$$$$`)* $$port$$:: $$Mongo server port. Cannot be set with URI.$$ *($$Integer$$, default: `$$$$`)* $$replica-set-name$$:: $$Required replica set name for the cluster. Cannot be set with URI.$$ *($$String$$, default: `$$$$`)* $$uri$$:: $$Mongo database URI. Cannot be set with host, port, credentials and replica set name.$$ *($$String$$, default: `$$mongodb://localhost/test$$`)* $$username$$:: $$Login user of the mongo server. Cannot be set with URI.$$ *($$String$$, default: `$$$$`)* $$uuid-representation$$:: $$Representation to use when converting a UUID to a BSON binary value.$$ *($$UuidRepresentation$$, default: `$$java-legacy$$`, possible values: `UNSPECIFIED`,`STANDARD`,`C_SHARP_LEGACY`,`JAVA_LEGACY`,`PYTHON_LEGACY`)* === spring.datasource $$continue-on-error$$:: $$Whether to stop if an error occurs while initializing the database.$$ *($$Boolean$$, default: `$$false$$`)* $$data$$:: $$Data (DML) script resource references.$$ *($$List$$, default: `$$$$`)* $$data-password$$:: $$Password of the database to execute DML scripts (if different).$$ *($$String$$, default: `$$$$`)* $$data-username$$:: $$Username of the database to execute DML scripts (if different).$$ *($$String$$, default: `$$$$`)* $$driver-class-name$$:: $$Fully qualified name of the JDBC driver. Auto-detected based on the URL by default.$$ *($$String$$, default: `$$$$`)* $$embedded-database-connection$$:: $$Connection details for an embedded database. Defaults to the most suitable embedded database that is available on the classpath.$$ *($$EmbeddedDatabaseConnection$$, default: `$$$$`, possible values: `NONE`,`H2`,`DERBY`,`HSQL`,`HSQLDB`)* $$generate-unique-name$$:: $$Whether to generate a random datasource name.$$ *($$Boolean$$, default: `$$true$$`)* $$initialization-mode$$:: $$Mode to apply when determining if DataSource initialization should be performed using the available DDL and DML scripts.$$ *($$DataSourceInitializationMode$$, default: `$$embedded$$`, possible values: `ALWAYS`,`EMBEDDED`,`NEVER`)* $$jndi-name$$:: $$JNDI location of the datasource. Class, url, username and password are ignored when set.$$ *($$String$$, default: `$$$$`)* $$name$$:: $$Datasource name to use if "generate-unique-name" is false. Defaults to "testdb" when using an embedded database, otherwise null.$$ *($$String$$, default: `$$$$`)* $$password$$:: $$Login password of the database.$$ *($$String$$, default: `$$$$`)* $$platform$$:: $$Platform to use in the DDL or DML scripts (such as schema-${platform}.sql or data-${platform}.sql).$$ *($$String$$, default: `$$all$$`)* $$schema$$:: $$Schema (DDL) script resource references.$$ *($$List$$, default: `$$$$`)* $$schema-password$$:: $$Password of the database to execute DDL scripts (if different).$$ *($$String$$, default: `$$$$`)* $$schema-username$$:: $$Username of the database to execute DDL scripts (if different).$$ *($$String$$, default: `$$$$`)* $$separator$$:: $$Statement separator in SQL initialization scripts.$$ *($$String$$, default: `$$;$$`)* $$sql-script-encoding$$:: $$SQL scripts encoding.$$ *($$Charset$$, default: `$$$$`)* $$type$$:: $$Fully qualified name of the connection pool implementation to use. By default, it is auto-detected from the classpath.$$ *($$Class$$, default: `$$$$`)* $$url$$:: $$JDBC URL of the database.$$ *($$String$$, default: `$$$$`)* $$username$$:: $$Login username of the database.$$ *($$String$$, default: `$$$$`)* === spring.mongodb.embedded $$features$$:: $$Comma-separated list of features to enable. Uses the defaults of the configured version by default.$$ *($$Set$$, default: `$$[sync_delay]$$`)* $$version$$:: $$Version of Mongo to use.$$ *($$String$$, default: `$$3.5.5$$`)* === spring.redis $$client-name$$:: $$Client name to be set on connections with CLIENT SETNAME.$$ *($$String$$, default: `$$$$`)* $$client-type$$:: $$Type of client to use. By default, auto-detected according to the classpath.$$ *($$ClientType$$, default: `$$$$`, possible values: `LETTUCE`,`JEDIS`)* $$connect-timeout$$:: $$Connection timeout.$$ *($$Duration$$, default: `$$$$`)* $$database$$:: $$Database index used by the connection factory.$$ *($$Integer$$, default: `$$0$$`)* $$host$$:: $$Redis server host.$$ *($$String$$, default: `$$localhost$$`)* $$password$$:: $$Login password of the redis server.$$ *($$String$$, default: `$$$$`)* $$port$$:: $$Redis server port.$$ *($$Integer$$, default: `$$6379$$`)* $$ssl$$:: $$Whether to enable SSL support.$$ *($$Boolean$$, default: `$$false$$`)* $$timeout$$:: $$Read timeout.$$ *($$Duration$$, default: `$$$$`)* $$url$$:: $$Connection URL. Overrides host, port, and password. User is ignored. Example: redis://user:password@example.com:6379$$ *($$String$$, default: `$$$$`)* $$username$$:: $$Login username of the redis server.$$ *($$String$$, default: `$$$$`)* //end::configuration-properties[] //end::ref-doc[]