-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
beginnerbeginner level good first issues, usually issues that can worked on without skimming the whole repobeginner level good first issues, usually issues that can worked on without skimming the whole repogood first issueGood for newcomersGood for newcomers
Description
Please describe.
The newer MQTT v5 version support a properties field which can contain non payload values that get transmitted to the consumer. We need to leverage this to publish the content type along with the message.
Describe the solution you'd like
Rough steps:
- While publishing the message (in
hololinked.server.mqtt.MQTTPublisher.publish), retrieve the content type from theEventMessageheader from ZMQ layer and fit into the properties field - On
MQTTConsumerside (inhololinked.client.mqtt.consumed_interactions.MQTTConsumer), use this content type if available first, then fallback to the value from the TD, which then falls back toapplication/json - Carry out a simple check by overriding the content type manually on publisher side and check if the value is carried over on consumer side
Additional context
If you are contributing first time, contributing.md can help
Metadata
Metadata
Assignees
Labels
beginnerbeginner level good first issues, usually issues that can worked on without skimming the whole repobeginner level good first issues, usually issues that can worked on without skimming the whole repogood first issueGood for newcomersGood for newcomers
Type
Projects
Status
Ready