Matching the Stream's Key

The adapter map file must configure the adapter so that every update sent to the Event Stream Processor stream includes a field or combination of fields that conform to the unique key defined for that stream. To make this more flexible, the adapter configuration mechanism supports "pseudofields."

The market data updates that the adapter receives from RMDS are mapped to columns in the Event Stream Processor stream using the dataField or dateTimeField element in the map file. RMDS also provides nonmarket data information and each update includes a RIC. Additionally, you can configure the adapter to add a sequence number to each update.

To make these data items available to the mapping process, the map file mechanism supports these elements called "pseudofields."

Field Description Datatype
dataField Values such as PRICE, SIZE (Required) datatype is determined at runtime from FIDs and stream schema)
dateTimeField The date and time (optional) string
itemName The RIC (required) string
imageField Flag to indicate if an entry is an image (required for Level 2 data) integer
itemStale The item state (optional)integer
marketByOrderKeyField Secondary key for Level 2 messages (required for Level 2 MARKET_ BY_ORDER messages) integer
marketByPriceKeyField Secondary key for Level 2 messages (required for Level 2 MARKET_ BY_PRICE messages) integer
marketMakerKeyField Secondary key for Level 2 messages (required for MARKET_MAKER messages) integer
nullField A null value (optional) A placeholder
respTypeNumField Identifies type of message (optional) integer
sequenceNumber A unique number, assigned sequentially by the adapter to each incoming event whether it causes an update or not. (optional)long
serviceName The name of the service from which RMDS received the market data from this RIC. (optional) string
updateNumber A unique number, assigned sequentially by the adapter to each incoming update. (optional) long