thin-edge / thin-edge.io

The open edge framework for lightweight IoT devices
https://thin-edge.io
Apache License 2.0
223 stars 55 forks source link

Support multiple cloud connections of the same type in container environments #3011

Closed reubenmiller closed 2 weeks ago

reubenmiller commented 4 months ago

Is your feature improvement request related to a problem? Please describe.

In a container deployment and using the built-in bridge feature, it should be possible to run two instances of the tedge-mapper to connect to two different Cumulocity IoT instance where both mappers are connected to the same local MQTT broker.

This is stage 1 of a 2 stage process to support connecting multiple instances of the same mapper type (e.g. n x c8y/aws/az) to two different cloud instances. The first stage assumes that two independent tedge-mapper-<cloud> instances can run in different connections to provide an isolated environment for both settings and certificates.

Describe the solution you'd like

The following items needs to be changed in order to support multiple connections to clouds of the same type, however a full running demo should be used to check that there are no other changes required.

Describe alternatives you've considered

Additional context

gligorisaev commented 3 months ago

LGTM

Will create Tests to cover this as soon as the keywords are created (part of other PR)