A quick question, may I know how to unsubscribe a single RIC (or just several RICs) after batch subscription for thousands of RICs via EMA? on the basis that NOT initializing the consumer client.
Thanks.
A quick question, may I know how to unsubscribe a single RIC (or just several RICs) after batch subscription for thousands of RICs via EMA? on the basis that NOT initializing the consumer client.
Thanks.
Hi @Frederic
Each item in the Batch has its own stream and therefore Handle allocated by the Server and API respectively. So, you would call unregister client for just the single item you want to close off the stream for.
Please refer to the EMA example 300_MP_Close - that comes with RT-SDK.
Cpp-C\Ema\Examples\Training\Consumer\300_Series\300_MP_Close
Java\Ema\Examples\src\main\java\com\refinitiv\ema\examples\training\consumer\series300\ex300_MP_Close
Typically a developer would store the handle for each item when they receive the initial RefreshMsg - in some application-level map etc. They can then lookup and access the handle when they need to close the stream.