Replay tries to open topic with no data

1 post / 0 new
Offline
Last seen: 5 years 9 months ago
Joined: 03/22/2011
Posts: 11
Replay tries to open topic with no data

Hi,

I've ran into a certain issue with the Recording Service Replay.

In the replay configuration I'm defining multiple sessions, one for each group of topics (they differ in the record_group_name regex of the input of each session's replay topic).

For example:

 

<session name="Session1">

 


<replay_topic name="Topic1">
   <input>
     <topic_name>*</topic_name>
     <type_name>*</type_name>
     <record_group_name>RecordGroup1</record_group_name>
     <domain_name>*</domain_name>
   </input>
</replay_topic>

 

</session>

 

<session name="Session2">

<replay_topic name="Topic2">
   <input>
     <topic_name>*</topic_name>
     <type_name>*</type_name>
     <record_group_name>RecordGroup2</record_group_name>
     <domain_name>*</domain_name>
   </input>
</replay_topic>

 

</session>

 

Now if, for example, my recording file does not have any data that matches RecordGroup2, an error is going to be thrown on creating topics ("create topics, no data for any topic"). Which means that I have to change the replay config to match every recording I want to replay.

Is there a way to avoid this problem by telling the replay not to open a topic if there is no data?

Thanks,

Michael