Repository navigation
docs: add Zenoh-to-MQTT topic mapping worked examples - #40
christymanthara wants to merge 1 commit into
Conversation
Add cyberwave/zenoh_mqtt/README.md with worked examples covering both mapping directions, MQTT prefix concatenation, nested-suffix flattening, sensor-segment dropping, and why mapping is not a lossless round trip. Link the guide from CONTRIBUTING.md as a hardware-free exploration area. Closes cyberwave-os#32 Co-authored-by: Cursor <cursoragent@cursor.com>
|
Slack team notifications
|
|
Thanks for contributing to the Cyberwave Python SDK, @christymanthara! Maintainer contacts: @KhushiSharma22. When this PR is ready, we request a maintainer review and run an automated advisory review. CI and human review remain the source of truth. Please describe what changed and how you tested it. See the contribution guide or ask for help on Discord. Drafts are welcome. Merged human contributions receive a Discord thank-you. To opt out, check the PR template's Discord opt-out box or add |
Automated advisory review · ClaudeCommit: The supplied patch set adds only documentation files (CONTRIBUTING.md and a new README.md). No Python source code, test code, or configuration files are changed. There are no executable code paths, imports, async behaviors, or robotics logic to evaluate for correctness defects. The documentation content itself describes expected mapping behavior consistently within the patch. Based on these excerpts alone, no actionable bugs can be identified. No high-confidence issues found in the supplied excerpts. This is not an approval. Coverage: 2 of 2 changed files; patch excerpts only. Generated REST code, lockfiles, notebooks, SVGs, missing patches and files beyond the 40-file / 60,000-character budget are excluded. GitHub may truncate individual patches. |
|
@KhushiSharma22 can you take a look and merge it in if correct? lmk |
What changed and why?
Closes #32
cyberwave/zenoh_mqtt/README.md: a worked-examples guide to the Zenoh ↔ MQTT topic mapping. Covers both directions using a syntactically valid UUID, MQTT prefix concatenation (no separator added) and the configurable inbound Zenoh prefix, nested MQTT suffixes flattening to underscores in the Zenoh channel, outbound sensor suffixes being dropped, and why the mapping is not a lossless round trip. Also documents thebuild_outbound_subscriptions/build_inbound_subscriptionshelpers.CONTRIBUTING.md(SDK Contributors section) as a hardware-free area to explore.How did you test it?
Every worked example was cross-checked against
cyberwave/zenoh_mqtt/topic_mapping.pyand the test suite — a verification script exercising all 19 example mappings passed 19/19, and the focused test command passes:No brokers, hardware, or live backend are needed to verify; the mapping logic is pure Python.
Contributor checklist
Made with Cursor