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

Best Answer

  • 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.

Answers