Hello,
We are currently using the record replay tool provided by
Reuters :
https://developers.refinitiv.com/article/quick-start-guide-recording-and-playback-elektron-data#Instrument%20List%20File%20Format
As described there are two formats for the record/replay :
In our side, the binary file is well replayed. However, we
got some troubles with Xml file.
After some investigations we managed to make it works, but
it requires to manually update the recorded Xml file.
So we think this is not something expected and this is why
we would like to get your advises.
Our detailed test case :
- Trrt : hostname where
our Reuters server is deployed - 14002 : the port to
connect to the server
- Record
- Xml
rmdstestclient -S IDN_RDF -h trrt -p 14002-ct rssl -u r_msa -ef RIC.lst -rf 8-of idn_rdf.xml
- Binary
rmdstestclient -S IDN_RDF -h trrt -p 14002-ct rssl -u r_msa -ef RIC.lst -rf 8-of idn_rdf.xml
We followed the documentation :
- Replay
- Xml
./sink_driven_src -S IDN_RDF -Q idn_rdf.xml -U 1
-N 14001
-K -ik
- Binary
./sink_driven_src -S IDN_RDF -bdf idn_rdf.dat -U 1
-N 14001
-K -ik
We followed the documentation :
- Final result :
- Xml
./sink_driven_src -S IDN_RDF -bdf idn_rdf.dat -U 1-N 14001-K -ik
Initialized RSSL library
Failed: rsslEncodeFieldEntry ,return value = "RSSL_RET_UNSUPPORTED_DATA_TYPE: Failure: The data type is unsupported. (-24)"...
- ii.Finally after all the following modifications in
the recorded file idn_rdf.xml (you will find attached the two files the
original and the manually fixed one) : it works fine :
- Xml file reformatting
We noticed that the recorded Xml file is currently corrupted.
After some additional investigations, it seems that the root cause of this issue is the bad-formatted XML file generated from the "record" script.
Narrowing down to two eligible fields which might cause this, We have managed to replay successfully an XML file by changing the following :
- initially to be able to load the entire XML file without losing data, add the missing dataType="RSSL_DT_TIME" for fields between 13404 - 14208 under the XML element <refreshMsg domainType="RSSL_DMT_MARKET_PRICE".
- qosRate="2" ---> should be changed from 2 to 1 in all occurrences
- <mapEntry flags="0x0" action="RSSL_MPEA_ADD_ENTRY" key="257" > --->key should be changed from 257 to 1 under the XML element <refreshMsg domainType="RSSL_DMT_SOURCE"
- Binary
Is that expected ?
How can we record a correct Xml file ?
Thanks,