Skip to content

Subscription notifications #131

Answered by JEnoch
tjrmarques asked this question in Q&A
Apr 29, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

No, for scalability reasons the declarations of subscribers are not propagated everywhere in a Zenoh system, and could even be squashed at some points (e.g. if a router receives on the same face 2 declarations of subscriptions for a/b/** and a/b/c/** it can only propagate the first one).
Even a MatchingListener doesn't get an exact view of the matching Subscribers, but just a MatchingStatus indicating if there is at least 1 matching Subscriber.

For your bridge use case, I see 2 solutions:

  1. rely on discovery of pub/sub from the other protocol rather than on discovery of Zenoh pub/sub. That's how I implemented the DDS, ROS2 and MQTT bridges.
  2. rely on LivelinessTokens that the Zenoh applicati…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@tjrmarques
Comment options

@JEnoch
Comment options

@tjrmarques
Comment options

Answer selected by tjrmarques
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants