filter

5 posts / 0 new
Last post
Offline
Last seen: 6 years 10 months ago
Joined: 10/18/2017
Posts: 13
Content Filtered Topic not really filtered?

Hello everyone,

I am testing a simple application with ContentFilteredTopic.

The DataWriter basically just send random numbers (possible temperature values in a range 0-100) and the DataReader receives them with a filter: it should only receive values less than 20 and greater than 80.

Apparently the application works fine. If i run publisher and subscriber I actually see what I expect and the temperature values are filtered as I want.

2 posts / 0 new
Last post
jcwenger's picture
Offline
Last seen: 3 years 7 months ago
Joined: 01/21/2015
Posts: 11
Stateful ContentFilteredTopics?

ContentFilteredTopics seem very appropriate for message / event type data, such as the "news story feed" example provided in the documentation.

However, when used on a topic representing a set of objects, there seems to be no way to affirm that an object with previously received instance samples has since left the filter criteria, and that the previously receieved samples are now inconsistent with the current state of the object.

2 posts / 0 new
Last post
Offline
Last seen: 10 years 9 months ago
Joined: 02/20/2014
Posts: 1
Keyed Topic data traffic

Hi, all!

I've havent found an explicit answer to this:

If I create N publishers on one topic, each publisher publishing data for one particular topic key (so we have N topic instances), and then one subscriber to the topic that wants to get only data for one particular key. Is the data already filtered (by key) on the publisher side or the subscriber gets all the data (and filters locally)?

Thank you,

Matej

 

Keywords:
Subscribe to RSS - filter