HSET <key> <attribute1> <value1>
inboundBulkQuotes_< bulkQuotesId >
-
bulkQuotesId: bulkQuotesId
-
individualItem_< quotesId >: Serialize ({ id: quotesId request: {} state: Individual state quotesRequest: {} quotesResponse: {} lastError: {} })
-
state: Global state
- RECEIVED
- PROCESSING
-
bulkQuotesTotalCount: Total number of bulk quotes requests
-
bulkQuotesSuccessCount: Total number of quotes requests those are succeeded
-
bulkQuotesFailedCount: Total number of quotes requests those are failed
- Kafka messages should contain bulkQuotesId.
- To update the global state use the command
HSET bulkQuotes_< bulkQuotesId > state < stateValue >
HSET <key> <attribute1> <value1>
inboundBulkTransfer_< bulkTransferId >
-
bulkTransferId: bulkTransferId
-
individualItem_< transferId >: Serialize ({ id: transferId request: {} state: Individual state transfersRequest: {} transfersResponse: {} lastError: {} })
-
state: Global state
- RECEIVED
- PROCESSING
-
bulkTransferTotalCount: Total number of bulk transfers requests
-
bulkTransferSuccessCount: Total number of transfers requests those are succeeded
-
bulkTransferFailedCount: Total number of transfers requests those are failed
- Kafka messages should contain bulkTransferId.
- To update the global state use the command
HSET bulkTransfer_< bulkTransferId > state < stateValue >
HSET inboundBulkCorrelationMap <attribute1> <value1>
- quotes_
<quoteId>
: "{ bulkQuoteId:<bulkQuoteId>
}" - transfers_
<transferId>
: "{ bulkTransferId:<bulkTransferId>
, bulkQuoteId:<bulkQuoteId>
}"
Notes:
- We can use
HKEYS
command to fetch all the individual transfer IDs in a bulk to iterate