Data Message Enrichment process

Overview

The Live Objects Data Message pipeline goes through an enrichment process that applies the following logic. This pipeline concerns messages coming from LoRa® and MQTT protocols.

Enrichment logic

The enrichment logic uses Device Management repository to enrich a DataMessage with Live Objects device information .

  • when using LoRa® protocol a device is retrieved by using devEUI.

  • when using MQTT protocol a device is retrieved by using clientId.

Table 1. Data Message fields modified by Enricher Logic

streamId

if not provided, will be set to Live Objects urn

tags

will be enriched by merging this fields with the device tags

extra

will be enriched by merging with the device properties

metadata.group

will be set with the device group

metadata.encoding

will be set with the device’s interface definition.encoding value. It will override the value from the original data message.

The enrichment process is executed before the decoding process