Is there a way to configure sink_driven_src to stop sending updates after X amount of updates?
I want to send steady 10 updates per second (-U 10) and stop after sending 100 updates.
I tried the -timeri option but the guide is very vague on explaining the timer interval. Description says
Sets the timer interval in microseconds. A setting of (0) disables the timer.
If you use rmdstestserver (tool shipped with ADH and ADS packages) and use a capture file, you should be able to do this. Versions of this tool shipped with TREP 3.2.3 and later allow users to control the number of times a capture file would be replayed (-replayLimit). Previously, rmdstestserver would continuously replay the capture file. See Demo tools guide shipped with TREP s/w for details.
Looking at the documentation for sink_driven_src, it does not appear to offer the functionality you are after.
If you want to publish dummy data and control the frequency / timing / count etc, then one option could be for you to modify the code for one of the OMMProvider examples as per your requirements.
As you may know, you can connect a OmmConsumer application directly to an Interactive OmmProvider example using the 'direct connect' feature - by ensuring the Interactive Provider is listening on the same port as the OmmConsumer is connecting on (default: 14002)
You can find a set of Interactive Provider examples in the training\iProvider Examples subfolder
You may contact TREP support team who is expert in sink_driven_src which are TREP's tool. To raise this problem to them directly, please submit the query via Get Product Support on MyRefinitiv. Select Product "Thomson Reuters Enterprise Platform".