Skip to content

Default subscriber QOS to BestEffort, account for TRANSIENT_LOCAL#1033

Merged
bjsowa merged 2 commits into
humblefrom
backport/subscriber-qos
May 19, 2025
Merged

Default subscriber QOS to BestEffort, account for TRANSIENT_LOCAL#1033
bjsowa merged 2 commits into
humblefrom
backport/subscriber-qos

Conversation

@bjsowa
Copy link
Copy Markdown
Member

@bjsowa bjsowa commented May 19, 2025

This is a backport of #991 and #1023.

ewak and others added 2 commits May 18, 2025 22:30
* use permissive QoS to ensure compatibilty with publishers

* use RELIABLE qos if publisher found to be TRANSIENT_LOCAL

---------

Co-authored-by: William Wedler <wwedler@riseup.net>
Co-authored-by: Mike Wake <michael.wake@aosgrp.com.au>
…ishers (#1023)

* fix: incompatible QoS settings for subs

for reliability, if any subscribed topic has a non-reliable policy, we set reliability to best effort. for durability, if if any subscribed topic has a non-transient-local policy, we set durability to volatile.

* fix: define variables

* fix: lint and remove default publisher qos durability setting

* fix: default durability policy for tests

* fix: code fixed according to recommendation

* fix: lint

* fix: added recommended changes

* fix: reverted test changes

* fix: check if there are any publisher.

* fix: lint

* fix: qos settings

* fix: requested changes
@bjsowa bjsowa requested a review from sea-bass May 19, 2025 15:47
@bjsowa bjsowa merged commit c92e81d into humble May 19, 2025
4 checks passed
@bjsowa bjsowa deleted the backport/subscriber-qos branch May 19, 2025 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants