-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(zenoh-flow-nodes): expose node's node id in Context
This allows providing more accurate information in, for instance, logging. The same node could be instantiated several times, being able to add the `NodeId` to the logging information helps differentiating them. * zenoh-flow-nodes/src/context.rs: add a field keeping track of the node id and a corresponding getter method. * zenoh-flow-runtime/src/runtime/load.rs: add the operator, sink and source id when creating the Context. Signed-off-by: Julien Loudet <[email protected]>
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters