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

Pass through message topic to guest #25

Closed
sjikob opened this issue Apr 10, 2024 · 1 comment · Fixed by #26
Closed

Pass through message topic to guest #25

sjikob opened this issue Apr 10, 2024 · 1 comment · Fixed by #26

Comments

@sjikob
Copy link

sjikob commented Apr 10, 2024

Currently only the message payload is passed through to the target component. It would be useful to additionally send the MQTT topic through. This would then allow the trigger to subscribe to wildcard topics, i.e. those containing + or # (which already works) but also provide some context to the component on the source of the message.

@suneetnangia
Copy link
Collaborator

That's a great suggestion, and I understand one would want to know what was the actual topic where the message arrived from in case of wildcard topic paths.

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 a pull request may close this issue.

2 participants