For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
16 7 9 15

Maximum FID size of MRN_STORY

Dear Team,

Please advise the maximum size of the FIDs that appear as JSON data after decompression when subscribing to real-time news using the RIC MRN_STORY.

Some sample FIDs: altID, body,headline, id and various other FIDs that are part of the JSON data.

Thank you.

elektronrefinitiv-realtimeelektron-sdkfieldsmrn
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
4.4k 10 6 9

Hi @NWM

Unlike fields in OMM envelope, JSON fields do not have size or length limit.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
16 7 9 15

hi Warat

Ok noted. Thanks for the response.

Couple more questions related to MRN

1) Are there any recommendations for JSON Parser by Reuters development team?

2) This is from the MRN/N2_UBMS comparison/migration guide

[When multiple messages are required, then the data item can be deemed as fully received once the sum of the number of bytes of each FRAGMENT equals TOT_SUM]

So for multiple messages, Is there any field that indicates the size(number of bytes) of each FRAGMENT?

Thank you.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @NWM

  1. I am afraid TR/Refinitiv does not have an official recommendation for JSON parser. We use standard JSON, so any JSON parsers should work fine.
  2. There is no such field.
    In EMA, you can get the size from the buffer length.

For example, in EMA C++:

static const Int16 FRAGMENT = 32641;

const FieldList& fl = updateMsg.getPayload().getFieldList();
fl.forth(FRAGMENT);
const FieldEntry& fe = fl.getEntry();
UInt32 fragmentLength = fe.getBuffer().length();