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] Add properties to the mqtt event #3175

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

TomerShor
Copy link
Contributor

The MQTT topic was previously populated in the URL field of the event, and was confused with the recently added (empty) topic property.

In this PR I added some fields to the MQTT event, as suggested in #3170 :

  • URL: The URL of the MQTT broker
  • topic: The topic of the message
  • path: The topic of the message (alias for topic)
  • body: The message payload
  • id: The message id

Resolves #3170

Copy link

@woodzy woodzy left a comment

Choose a reason for hiding this comment

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

Thanks -- expanding the internal fields available to MQTT is appreciated.

@TomerShor TomerShor merged commit 0c3d115 into nuclio:development Feb 22, 2024
11 checks passed
@TomerShor TomerShor deleted the bugfix/3170-mqtt-event branch February 22, 2024 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] [mqtt] URL, Topic, Path confusion
3 participants