question

Upvotes
Accepted
20.3k 73 10 20

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-sdkrrtema-apielektron-message-api
icon clock
10 |1500

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

Upvotes
Accepted
20.3k 73 10 20

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 5.0 MiB each and 10.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 5.0 MiB each and 10.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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea