8000 [Feature Request]: Make MQTT trigger more robust · Issue #3416 · nuclio/nuclio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Feature Request]: Make MQTT trigger more robust #3416

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

Open
1 of 3 tasks
dberardo-com opened this issue Dec 4, 2024 · 0 comments
Open
1 of 3 tasks

[Feature Request]: Make MQTT trigger more robust #3416

dberardo-com opened this issue Dec 4, 2024 · 0 comments

Comments

@dberardo-com
Copy link

Feature Type

  • Adding new functionality to Nuclio

  • Changing existing functionality in Nuclio

  • Removing existing functionality in Nuclio

Problem Description

I have already reported in the past that the current implementation of the mqtt trigger in nuclio makes it simply unusable in real-life environment due to the "clean_session: true" parameter, which causes the client to "forget" about all topics it was subscribed to in case of disconnection/reconnection from the broker.

Also, it makes no sense to allow the user to subscribe with QoS > 0 if clean_session: true and the clientId changes when the container is restarted.

Feature Description

Must:

  • remove clean session true
  • use a static clientId --> this could be a parameter from the trigger, or the name of the function with an identifier like the context_id
  • (if using mqtt v5) allow sessionTimeout and keepalive configuration

Nice to have

  • allow for websocket connection
  • allow for usage of certificates to authenticate

Alternative Solutions

unfortunately i am not able to use the mqtt trigger so far and need to manually connect from inside the function using an HTTP trigger instead ... quite annoying

Additional Context

No response

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

No branches or pull requests

1 participant
0