Kay-Uwe Moosheimer created NIFI-13190:
-----------------------------------------
Summary: Add suppport for User Properties in MQTT V5
Key: NIFI-13190
URL: https://issues.apache.org/jira/browse/NIFI-13190
Project: Apache NiFi
Issue Type: Improvement
Affects Versions: 2.0.0-M2
Reporter: Kay-Uwe Moosheimer
MQTT V5 supports User Properties to transmit user-defined attributes
independently of the message.
ConsumeMQTT and PublishMQTT should support these User Properties.
Among other things, this is interesting to support OpenTelemetry (which should
be supported by default on both processors) but also to transmit additional
information, for example on further processing or the status of the message
(where did the message originally come from, why did the message come from, how
is the message to be handled, etc.).
PublishMQTT should include a text field in which you can enter a
comma-separated values list of the attributes to be written from the FlowFile.
ConsumeMQTT should read all User Properties and save them in the FlowFile.
It should be noted that the flow designer should have the option of adopting
the read User Properties directly (and overwriting any existing attributes) or
providing them with a prefix (e.g. mqtt.user_property.xyz).
Info: https://www.hivemq.com/blog/mqtt5-essentials-part6-user-properties/
--
This message was sent by Atlassian Jira
(v8.20.10#820010)