|
Below is an example of 3 messages received with the same business key and all 3 messages have been bucketed
|
|
{
|
"_id" : ObjectId("609d094b9fc9182fc4f5f8c5"),
|
"businessKey" : {
|
"TxId" : "1"
|
},
|
"_insertedTS" : ISODate("2021-05-13T11:11:07.158+0000"),
|
"_modifiedTS" : ISODate("2021-05-13T11:14:10.410+0000"),
|
"accountId" : "IBAN0000000031673629402517",
|
"messages" : [
|
{
|
"k" : "PAC0008",
|
"v" : {
|
"mdInsertDtTm" : ISODate("2021-05-12T13:59:27.000+0000"),
|
"xmlToJson" : {
|
"date" : "2021-05-12T14:59:27",
|
"amount" : 1009.23
|
}
|
}
|
},
|
{
|
"k" : "PAC0007",
|
"v" : {
|
"mdInsertDtTm" : ISODate("2021-05-12T13:59:27.000+0000"),
|
"xmlToJson" : {
|
"date" : "2021-05-12T14:59:27",
|
"amount" : -3009.23
|
}
|
}
|
},
|
{
|
"k" : "PAC0007",
|
"v" : {
|
"mdInsertDtTm" : ISODate("2021-05-12T13:59:27.000+0000"),
|
"xmlToJson" : {
|
"date" : "2021-05-12T14:59:27",
|
"amount" : -1009.23
|
}
|
}
|
}
|
],
|
"metadata" : {
|
"mdInsertDtTm" : "2021-05-12T14:59:27"
|
},
|
"tranactionId" : "1"
|
}
|
|