hms-networks / flexy-cumulocity-connector

A connector-based solution to Cumulocity for linking Ewon devices using a direct data path with a Flexy Java application.
Apache License 2.0
3 stars 2 forks source link

Add support for "Transient" messages #52

Closed it-hms closed 10 months ago

it-hms commented 1 year ago

Please add the ability to toggle measurement data transmitted to Cumulocity as "Transient" though the addition of a header text in each message: X-Cumulocity-Processing-Mode: TRANSIENT This will allow for processing of data as it enters Cumulocity but prevent automatic storage of the measurement data

it-hms commented 1 year ago

I see this in the HTTP documentation as an optional header. I'm not sure about the MQTT equivalent.

alexjhawk commented 11 months ago

Adding detail:

MQTT equivalent involves changing the target topic(s). Typically, this just means instead of s/, we use t/, but in the case of aggregated data payloads, we simply append t/ at the beginning since it does not use s/ by default.