You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+21-17
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,12 @@ To install the latest release of the Zenoh router (`zenohd`) and its default plu
26
26
27
27
### Manual installation (all platforms)
28
28
29
-
All release packages can be downloaded from:
30
-
-https://download.eclipse.org/zenoh/zenoh/latest/
29
+
All release packages can be downloaded from:
30
+
-https://download.eclipse.org/zenoh/zenoh/latest/
31
31
32
32
Each subdirectory has the name of the Rust target. See the platforms each target corresponds to on https://doc.rust-lang.org/stable/rustc/platform-support.html
33
33
34
-
Choose your platform and download the `.zip` file.
34
+
Choose your platform and download the `.zip` file.
35
35
Unzip it where you want, and run the extracted `zenohd` binary.
36
36
37
37
### Linux Debian
@@ -99,32 +99,32 @@ Zenoh's router is built as `target/release/zenohd`. All the examples are built i
99
99
> **Windows users**: to properly execute the commands below in PowerShell you need to escape `"` characters as `\"`.
@@ -133,16 +133,20 @@ A Zenoh configuration file can be provided via CLI to all Zenoh examples and the
133
133
134
134
*`-c, --config <FILE>`: a [JSON5](https://json5.org) configuration file. [DEFAULT_CONFIG.json5](DEFAULT_CONFIG.json5) shows the schema of this file and the available options.
135
135
136
+
136
137
See other examples of Zenoh usage in [examples/](examples)
137
138
139
+
> [!NOTE]
140
+
> **Zenoh Runtime Configuration**: Starting from version 0.11.0-rc, Zenoh allows for configuring the number of worker threads and other advanced options of the runtime. For guidance on utilizing it, please refer to the [doc](https://docs.rs/zenoh-runtime/latest/zenoh_runtime/enum.ZRuntime.html).
141
+
138
142
-------------------------------
139
143
## Zenoh router command line arguments
140
144
`zenohd` accepts the following arguments:
141
145
142
146
*`--adminspace-permissions <[r|w|rw|none]>`: Configure the read and/or write permissions on the admin space. Default is read only.
143
147
*`-c, --config <FILE>`: a [JSON5](https://json5.org) configuration file. [DEFAULT_CONFIG.json5](DEFAULT_CONFIG.json5) shows the schema of this file. All properties of this configuration are optional, so you may not need such a large configuration for your use-case.
144
148
*`--cfg <KEY>:<VALUE>`: allows you to change specific parts of the configuration right after it has been constructed. VALUE must be a valid JSON5 value, and key must be a path through the configuration file, where each element is separated by a `/`. When inserting in parts of the config that are arrays, you may use indexes, or may use `+` to indicate that you want to append your value to the array. `--cfg` passed values will always override any previously existing value for their key in the configuration.
145
-
*`-l, --listen <ENDPOINT>...`: An endpoint on which this router will listen for incoming sessions.
149
+
*`-l, --listen <ENDPOINT>...`: An endpoint on which this router will listen for incoming sessions.
146
150
Repeat this option to open several listeners. By default, `tcp/[::]:7447` is used. The following endpoints are currently supported:
147
151
- TCP: `tcp/<host_name_or_IPv4_or_IPv6>:<port>`
148
152
- UDP: `udp/<host_name_or_IPv4_or_IPv6>:<port>`
@@ -184,8 +188,8 @@ Otherwise, incompatibilities in memory mapping of shared types between `zenohd`
184
188
185
189
By default the Zenoh router is delivered or built with 2 plugins. These may be configured through a configuration file, or through individual changes to the configuration via the `--cfg` CLI option or via zenoh puts on individual parts of the configuration.
186
190
187
-
> [!WARNING]
188
-
> Since `v0.6`, `zenohd` no longer loads every available plugin at startup. Instead, only configured plugins are loaded (after processing `--cfg` and `--plugin` options). Once `zenohd` is running, plugins can be hot-loaded and, if they support it, reconfigured at runtime by editing their configuration through the adminspace.
191
+
> [!WARNING]
192
+
> Since `v0.6`, `zenohd` no longer loads every available plugin at startup. Instead, only configured plugins are loaded (after processing `--cfg` and `--plugin` options). Once `zenohd` is running, plugins can be hot-loaded and, if they support it, reconfigured at runtime by editing their configuration through the adminspace.
189
193
190
194
Note that the REST plugin is added to the configuration by the default value of the `--rest-http-port` CLI argument.
191
195
@@ -198,5 +202,5 @@ This plugin allows you to easily define storages. These will store key-value pai
198
202
-------------------------------
199
203
## Troubleshooting
200
204
201
-
In case of troubles, please first check on [this page](https://zenoh.io/docs/getting-started/troubleshooting/) if the trouble and cause are already known.
205
+
In case of troubles, please first check on [this page](https://zenoh.io/docs/getting-started/troubleshooting/) if the trouble and cause are already known.
202
206
Otherwise, you can ask a question on the [zenoh Discord server](https://discord.gg/vSDSpqnbkm), or [create an issue](https://github.com/eclipse-zenoh/zenoh/issues).
0 commit comments