Cumulocity-IoT / cumulocity-dynamic-mapper

The ultimate Mapper for building the bridge between any Message Broker and Cumulocity IoT in a zero-code approach!
Apache License 2.0
10 stars 9 forks source link
agent angular cumulocity-agent cumulocity-iot cumulocity-microservice cumulocity-package iot iot-analytics java microservice mqtt server-side-agent typescript

Dynamic Mapping Service for Cumulocity

Overview

The Cumulocity Dynamic Data Mapper addresses the need to get any data provided by a message broker mapped to the Cumulocity IoT Domain model in a zero-code approach. It can connect to multiple message brokers likes MQTT, MQTT Service , Kafka and others, subscribes to specific topics and maps the data in a graphical editor to the domain model of Cumulocity.

Per default the followings connectors are supported

Using the Cumulocity Dynamic Data Mapper you are able to connect to almost any message broker and map any payload on any topic dynamically to the Cumulocity IoT Domain Model in a graphical editor.

Here are the core features summarized:



Installation

Please check the Installation Guide to find out how you can install the Dynamic Data Mapper.

User Guide

Please check the User Guide to find a comprehensive guidance how to use the Dynamic Data Mapper.

Architecture

Please check the Architecture overview if you are eager to understand how it is implemented.

API

Please check the REST API provided by the Dynamic Data Mapper.

Extensions

The Dynamic Data Mapper can be extended on multiple layers. Check out the Extensions Guide if you want to add customer mapper or connectors.

Limitations

Please check the current Limitations of the Dynamic Data Mapper.

Contribution

We are always looking for additional contribution.

Build & Deploy

If you want to make changes to the code or configuration check out this Build & Deploy guide

Tests & Sample Data

Load Test

In the resource section you find a test profil jmeter_test_01.jmx using the performance tool jmeter and an extension for MQTT: emqx/mqtt-jmeter. This was used to run simple loadtest.

Setup Sample mappings

A script to create sample mappings can be found here. You have to start it as follows:

#python3 resources/script/mapping/import_mappings_01.py -p <YOUR_PASSWORD> -U <YOUR_TENANT> -u <YOUR_USER> -f resources/script/mapping/sampleMapping/sampleMappings_02.json

The mappings with inputs and substitutions are explained in the sample document.


These tools are provided as-is and without warranty or support. They do not constitute part of the Cumulocity product suite. Users are free to use, fork and modify them, subject to the license agreement. While Cumulocity GmbH welcomes contributions, we cannot guarantee to include every contribution in the master project.