-
Notifications
You must be signed in to change notification settings - Fork 20
Daemon configuration
To run, a Zenoh-Flow needs the following information:
-
(optional)
name
: the name to associate to this daemon. If none is given it will default to the value of the environment variable$HOSTNAME
.
💡 It is recommended to provide a name as it is what the mapping section relies on to associate a node to a runtime. It becomes mandatory to provide one when several Zenoh-Flow daemons are running on the same host machine. -
pid_file
: where, when it is running, the Process ID of the daemon can be found. -
path
: reserved for later usage, it is unused now. -
extensions
: the path where the daemon can find the extensions files required to run nodes implemented in a programming language other than Rust (namely Python). -
zenoh_config
: where and how the daemon can connect to a running zenohd. -
worker_pool_size
: the number of workers that process data flow instantiations. These workers are not responsible for running nodes but to orchestrate the deployment of data flows. We suggest leaving this number to its default value.
Below is an example configuration:
name: zenoh-flow-daemon-0
pid_file: /var/zenoh-flow/runtime.pid
path: /etc/zenoh-flow
extensions: /etc/zenoh-flow/extensions.d/
zenoh_config: /etc/zenoh-flow/zenoh-daemon.json
worker_pool_size: 4
-
Descriptor
- Data flow descriptor
-
Node descriptor
- (optional) Vars
- (optional) Configuration
- Inputs and/or Outputs
- URI
- Composite Operator
-
Node Implementation
-
Advanced