Skip to content

Commit

Permalink
add querier
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Nov 29, 2024
1 parent e62b1d0 commit 14bff3d
Show file tree
Hide file tree
Showing 8 changed files with 376 additions and 30 deletions.
52 changes: 26 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ pyo3 = { version = "0.21.2", features = [
"experimental-declarative-modules",
] }
validated_struct = "2.1.0"
zenoh = { version = "1.0.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", features = ["unstable", "internal"], default-features = false }
zenoh-ext = { version = "1.0.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", features = ["internal"], optional = true }
zenoh = { version = "1.0.0-dev", git = "https://github.com/DenisBiryukov91/zenoh.git", branch = "querier", features = ["unstable", "internal"], default-features = false }
zenoh-ext = { version = "1.0.0-dev", git = "https://github.com/DenisBiryukov91/zenoh.git", branch = "querier", features = ["internal"], optional = true }
18 changes: 18 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,24 @@ or
python3 z_get.py -s 'demo/**'
```

### z_querier

Continuously sends query messages for a selector.
The queryables with a matching path or selector (for instance [z_queryable](#z_queryable) and [z_storage](#z_storage))
will receive these queries and reply with paths/payloads that will be received by the querier's query callback.

Typical usage:

```bash
python3 z_querier.py
```

or

```bash
python3 z_get.py -s 'demo/**'
```

### z_queryable

Creates a queryable function with a key expression.
Expand Down
Loading

0 comments on commit 14bff3d

Please sign in to comment.