question

Upvotes
Accepted
15 2 1 5

Why `Stream closed for batch` happens?

Hi All.

Whenever our server launch, `Stream closed for batch` message sent to us.

However, even for those messages, the server is receiving data correctly.

Why is that message sent?

Regards

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-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.

1 Answer

Upvotes
Accepted
9.6k 10 6 7

Hello @cho.seungjin

The state "Closed / Ok / None / 'Stream closed for batch'" in a Status Message is to notify the application that the batch stream is closed. The application receives this Status Message after EMA has requested data for all RICs in the batch request already so the batch stream is not used anymore. The reason is the responses (data, status message) of all RICs are provided on individual streams which is not batch stream. That's why your application still get data correctly even receiving 'Stream closed for batch'.

Hope this help.

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.

Hello @Pimchaya.Wongrukun

Thank you for quick response. Now I know it's totally normal status.

Thank a lot!