question

Upvotes
Accepted
25.3k 87 12 25

EMA Webinar Nov 2: Where / How is the data dictionary loaded by the application / EMA API?

In the code examples you showed, where / How was the data dictionary loaded by the application / EMA API?

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-api
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
25.3k 87 12 25

If the question was, where is the code for Loading the Dictionary in the Consumer example I coded during the Webinar, the answer is there was no relevant code in the example. This is because the API loads the dictionary for the developer as one of its high level / default behaviours.

As mentioned, in the above replies, the developer can manually request a dictionary if required and the config will control whether the dictionary is downloaded from the server(default) or from local files.

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
1 0 0 1

If you are asking about how EMA gets the dictionary, for the Consumer role, by default, the EMA API requests the dictionary from the network (from connected component).

If the EMA Consumer example is using EMA Configuration, it can be configured to use local dictionary or network dictionary (downloaded from connected component).

For the non-interactive provider, currently it loads only the local dictionary.

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
121 1 0 1

If the client application would like to receive the dictionary, the client will need to send a dictionary request through registerClient().

Please refer to consumer example 332_Dictionary_Streaming.

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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