How to configure the subscriber's acknowledgement and remove the data from DataWriter/DataReader's queue

1 post / 0 new
Offline
Last seen: 7 months 3 weeks ago
Joined: 06/21/2018
Posts: 5
How to configure the subscriber's acknowledgement and remove the data from DataWriter/DataReader's queue
AttachmentSize
File USER_QOS_PROFILE4.73 KB

Hello RTI community,

      I am trying to configure the subscriber's acknowledgement and remove the data from DataWriter/DataReader's queue after the subscriber acknowledge the messages.

Here is what i tried with my USER_QOS_PROFILES files.

1> Run the HelloWorldPublisher with 100 samples

2> Wait for the HelloWorldPublisher to write the 100 integer value messages. (1, ..., 100)

3> Run the HelloWorldSubscriber. The Subscriber did not recevied any data. Somehow, the data in the message queue are already ack'ed and removed before the first subscriber started consumed and acknowleged.

Questions: What other configurations do I need to add/modify in the USER_QOS_PROFILES.xml file. My test configuration file is attached. What I am expecting from my test helloWorld program is that the data (1, ..., 100) will still be in queue before the first subscriber has started consuming. But, all the data are already ack'ed and removed before the first Subscriber has started.

Thanks,

Jon