Is it more "rossy" to publish to one topic and later distinguish msgs?
Hi!
I guess I have a quite general question. Imagine the following: You have a list of sensors that all publish some sort of status message. What is the more "rossy" way of publishing and subscribing to this status message?
- All the sensors publish to the same topic and a potential subscriber later filters for its messages of interest?
- Each sensor publishes to an individual topic and a later subscriber will actually have one subscriber for each sensor of interest?
What do you consider "better" and why? Thanks!