Publish data to specific subscriber #4756
-
There are 2 subscriber with 1 publisher, and the publisher wants to send data to one specific subscriber. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @advancenXX, that scenario differs from the DDS standard, which is subscription agnostic.
On the other hand, partitions create logical distinctions (as domains do, but inside the topic). A publisher can be modified to publish on a specific topic partition, but that would imply re-launching discovery phases in every partition change and waiting for all endpoints to be discovered to avoid data loss. |
Beta Was this translation helpful? Give feedback.
Hi @advancenXX, that scenario differs from the DDS standard, which is subscription agnostic.
There are two alternatives to perform something similar of your proposed scenario, by using either content filter topic or partitions.
Content filtered topic can be configured as specified in this section of the Fast DDS documentation in the subscribers side, or even in the publisher' side.
Using this mechanism has two cons depending of the configuration: