Skip to content

Conversation

@steils
Copy link
Contributor

@steils steils commented Oct 20, 2025

If there is a subscription or query request for a key expression that is defined in the same local session, the response must be processed locally and not cause network activity.

@github-actions
Copy link

PR missing one of the required labels: {'internal', 'breaking-change', 'dependencies', 'documentation', 'bug', 'api-sync', 'ci', 'new feature', 'enhancement'}

@sashacmc sashacmc added the enhancement Things could work better label Oct 20, 2025
@steils steils force-pushed the localisation branch 9 times, most recently from bb9cc11 to a88f739 Compare October 21, 2025 02:04
@steils steils marked this pull request as ready for review October 21, 2025 02:30
Copy link
Member

@sashacmc sashacmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only did a passing review, so a full review from @gmartin82 is still needed.

@sashacmc sashacmc requested a review from gmartin82 October 21, 2025 19:46
@steils steils force-pushed the localisation branch 4 times, most recently from 368dd75 to 45b8d49 Compare October 22, 2025 04:02
@steils steils force-pushed the localisation branch 2 times, most recently from e7df8e4 to 420527c Compare October 22, 2025 04:09
@Zaanjainad
Copy link

No description provided.

@steils steils force-pushed the localisation branch 2 times, most recently from b65eaa1 to 82ce34f Compare October 27, 2025 14:08
@steils steils marked this pull request as draft October 28, 2025 02:53
@steils steils force-pushed the localisation branch 2 times, most recently from 7888446 to 30b1771 Compare October 31, 2025 13:34
@steils steils force-pushed the localisation branch 27 times, most recently from 43a18ea to f45bc81 Compare November 20, 2025 13:40
- Deliver PUT/DELETE, query, reply, and reply-final messages for a key
expression that is defined in the same local session locally, without
causing network activity.
- Extend z_api_source_info_test to validate deliveries both to remote and
local subscribers.
- Support locality of samples to be received by subscribers or targeted by
publishers.
- Enable the locality-specific CMake options in CI.

User can now set allowed_origin / allowed_destination in
z_put_options_t, z_publisher_put_options_t, z_subscriber_options_t,
z_queryable_options_t, etc. with the following values:
- ZP_LOCALITY_SESSION_LOCAL - stay inside the session (don't send
  anything to network)
- ZP_LOCALITY_REMOTE - send/accept only over the transport (no
  same-session samples)
- ZP_LOCALITY_ANY - allow both,
exactly as with zenoh-c's zc_locality_t.

Co-developed-by: Denis Biryukov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Things could work better

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants