Is it possible to retrieve the binary data stream from Refresh/Update message in EMA ?

Is it possible to retrieve the binary data stream from Refresh/Update message in EMA ?

Best Answer

  • @Gang.Chen

    Not sure what kind of binary data/RIC you want to retrieve? or Do you want to publish and consume your custom binary data via TREP?

    You can publish the binary using the Opaque data type as far as I understand the maximum size for each message depending on the container you want to use and the limit on TREP. Please see the following post with some information about the limitation.

    https://community.developers.refinitiv.com/questions/7437/opaque-message-size-limitations.html


    Also, if you want to send a big binary data, you might need to send it as multi parts or fragments and utilize the way for publishing and consuming level 2 data to achieve the requirement. You might also need to define it as a custom domain.


    Another example is the MRN data. It sends data using a Buffer type. The feeds will publish an update like a general level 1Market Price, but it uses field name FRAGMENT (Buffer) to transfer JSON data compressed in gzip format. If the total size over fields size, it will send data as multiple fragments. The consumer has to understand how to combine the binary data and understand the format.