Zenoh Connection Configuration understanding #174
Unanswered
Abhishek2581
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
I am new to Zenoh and trying to understand the connection configuration for a peer.
When I execute my peer with the following configuration:
**mode: "peer",
connect: {
/// timeout waiting for all endpoints connected (0: no retry, -1: infinite timeout)
/// Accepts a single value (e.g. timeout_ms: 0)
/// or different values for router, peer and client (e.g. timeout_ms: { router: -1, peer: -1, client: 0 }).
timeout_ms: { router: -1, peer: -1, client: 0 },
then there is no connection attempt with router However, when I modify the configuration to this:
**mode: "peer",
connect: {
/// timeout waiting for all endpoints connected (0: no retry, -1: infinite timeout)
/// Accepts a single value (e.g. timeout_ms: 0)
/// or different values for router, peer and client (e.g. timeout_ms: { router: -1, peer: -1, client: 0 }).
timeout_ms: { router: -1, peer: -1, client: 0 },
the peer successfully connects to the router.
From the documentation, I understand that a peer should be able to connect to both peers and routers. Moreover, different lists can be configured for router and peer connection addresses to make the configuration more specific.
Could you please help me understand why the peer does not establish a connection with the router when I explicitly define the router in the endpoints configuration?
Any insights or corrections to my understanding would be greatly appreciated.
Thank You!
Best Regards,
Abhishek GOYAL
Beta Was this translation helpful? Give feedback.
All reactions