Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT retain support #4388

Closed
fgalan opened this issue Aug 8, 2023 · 1 comment
Closed

MQTT retain support #4388

fgalan opened this issue Aug 8, 2023 · 1 comment
Labels
Milestone

Comments

@fgalan
Copy link
Member

fgalan commented Aug 8, 2023

Orion should support retain MQTT option in mqtt and mqttCustom subscriptions fields.

Thus, a new boolean option retain will be added to https://github.com/telefonicaid/fiware-orion/blob/master/doc/manuals/orion-api.md#subscriptionnotificationmqtt and https://github.com/telefonicaid/fiware-orion/blob/master/doc/manuals/orion-api.md#subscriptionnotificationmqttcustom, with default to false

The current false in mosquitto_publish (

int resultCode = mosquitto_publish(mosq, &id, topic.c_str(), (int) strlen(msg), msg, qos, false);
) will be unhardwire to use that new retain value

@fgalan fgalan added the backlog label Aug 8, 2023
@fgalan fgalan added this to the 3.11.0 milestone Aug 8, 2023
@fgalan fgalan pinned this issue Aug 8, 2023
@fgalan fgalan mentioned this issue Aug 30, 2023
7 tasks
@fgalan
Copy link
Member Author

fgalan commented Aug 31, 2023

PR #4412

@fgalan fgalan closed this as completed Aug 31, 2023
@fgalan fgalan unpinned this issue Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant