RTI Recording Service

6 posts / 0 new
Last post
Offline
Last seen: 6 years 6 months ago
Joined: 02/06/2017
Posts: 8
RTI Recording Service

Use Case : We do have a use case of continuous recording streaming data for many months. RTI recording service allows us to store that in one file. We are facing following problems in using RTI routing service.
1.we have recorded file of one month.start_time tag in the xml is in sec/nano sec. Suppose we want to start replay data from fifth day.do i need to calculate secs for five days? or there are others methods to do it.

2.how can i apply content based filtering in replaying a data for a particular topic? i want replay a subset of sample of a particular topic.

Organization:
Offline
Last seen: 6 years 6 months ago
Joined: 02/06/2017
Posts: 8

Mr. gerado plz reply

Offline
Last seen: 3 years 1 week ago
Joined: 01/15/2013
Posts: 94

Hi Renu,

1) The <start_time> tag has to be used in combination with the <time_mode> tag. Its internal resolution is to the milliseconds, even though expressed as seconds and nanoseconds. The ABSOLUTE time mode works directly with the timestamp values in the database. While this is the most exact method, it can be tedious as it requires the user to work with nanoseconds timestamps. The most comfortable way is to use SERVICE_RELATIVE or DATABASE_RELATIVE time modes. These work like an offset to the time the service was started, or the time data started being recorded, respectively. I would say this is going to be your best option.

2) Unfortunately, no, you can't filter Replay's samples based on the content. You will have to use Connext's content-filter topics on the reader side for that.

Thanks,

Juanlu

Offline
Last seen: 6 years 6 months ago
Joined: 02/06/2017
Posts: 8

hey juan thanx for your reply:-

can i specify start time through command line or shall i need to update xml. i am making my own code and calling rti record and rti reply service inside that can i specify start time through command line?? in my use case application will be requesting data from some start time. then my application shall be replying data from that start time??

Mr. Juan what i have seen in recording there is option of specifying file size. instead of specifying size can i specify time for which data has to be recorded in this file and automatically start recording data in another file??

 

 

Offline
Last seen: 3 years 1 week ago
Joined: 01/15/2013
Posts: 94

Hi Renu,

Unfortunately, no, this parameter cannot be expressed through the command line. The reason being that the <time_control> properties can be specified for and apply for many different Replay entities.

The time-based segmentation of the recording is not available, unfortunately. Only max size can be specified.

Thanks,

Juanlu

Offline
Last seen: 6 years 6 months ago
Joined: 02/06/2017
Posts: 8

can you please elaborate difference b/w service relative and database relative time mode???