RFA NONSTREAMING with BATCH request

Options

I am using rfa 7.2.1 java implementation.

When I build a consumer batch request with NONSTREAMING indication flag, I don't receive any OMM_ITEM_EVENT, but only a COMPLETION_EVENT without payload.

The message request that I build is like this:

MESSAGE
Msg Type: MsgType.REQUEST
Msg Model Type: MARKET_PRICE
Indication Flags: NONSTREAMING | REFRESH | BATCH_REQ
Hint Flags: HAS_ATTRIB_INFO | HAS_PRIORITY
Priority: 1,1
AttribInfo
ServiceName: BBG
NameType: 1 (RIC)
Payload: None

If I remove the indication flag NONSTREAMING it works fine.

I would like to kindly ask if the batch request is snapshot by definition or if there can be both streaming and snapshot mode.

Best Answer

  • umer.nalla
    umer.nalla LSEG
    Answer ✓

    Batch Snapshot is a licensable feature - so the most likely explanation is that this feature is not licensed for your TREP installation.

    Please contact your TREP / Market Data Admin team or TR account manager to discuss further.

    To answer your question - you can make streaming or non-streaming(subject to licence) Batch requests.

Answers

  • I've noticed that replacing the indication flag REFRESH with NONSTREAMING, works. The documentation states:

    "Non-streaming requests are fulfilled by a provider sending a response message called a refresh."

    Does this mean that NONSTREAMING and REFRESH indication flags are interchangeable?

  • Please be aware RFA 7.2 is now unsupported and especially for RSSL/OMM one should update to the latest version for many bug fixes and improved documentation. For new projects you should review EMA/Java which can significantly reduce the amount of effort need to consume data.