|
VLink
2.1.0
A high-performance communication middleware
|
Transport configuration for the zenoh:// Eclipse Zenoh transport.
更多...
Transport configuration for the zenoh:// Eclipse Zenoh transport.
ZenohConf binds the zenoh:// URL scheme to Eclipse Zenoh. The VLink backend maps the six VLink node types onto Zenoh publish/subscribe, query/queryable, liveliness and matching primitives. Generic Zenoh storage, delete, scouting and admin-space APIs are intentionally not re-exposed through this transport abstraction. Optional zenoh-c shared-memory acceleration lowers latency for large payloads exchanged between processes on the same host.
| Publisher | Subscriber | Server | Client | Getter | Setter |
|---|---|---|---|---|---|
| yes | yes | yes | yes | yes | yes |
| Mode | Topology | Typical use case |
|---|---|---|
peer | Fully meshed P2P between participants | LAN with no router |
client | Connects to a router as a leaf node | Fleet edge connecting to cloud |
router | Forwards data for connected clients | Gateway / aggregation point |
| Component | Description |
|---|---|
address | Base key expression (URL host concatenated with path) |
event | Optional event identity included in the derived native key |
domain | Zenoh session/domain identifier (?domain=); factory default applied |
qos | Named QoS profile registered via register_qos() |
depth | TX queue override; 0 uses the QoS-selected history depth |
shm | Enable Zenoh shared-memory acceleration (boolean) |
shm_mode | Pool init strategy; lazy or init |
shm_size | SHM pool size; accepts bytes, K, M, or G suffixes |
shm_threshold | Minimum payload size to switch the SHM path on |
shm_loan_threshold | Minimum size for VLink SHM loan buffers |
shm_blocking | Whether loan() blocks when the pool is exhausted |
fragment | Optional transport hint or session-config fragment |
VLINK_SUPPORT_ZENOH is defined. is_valid() returns false when address is empty, domain is negative, or depth is negative. Qos fields remain DDS-only.