Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 3.09 KB

README.md

File metadata and controls

36 lines (26 loc) · 3.09 KB

Device MQTT Go

Build Status Code Coverage Go Report Card GitHub Latest Dev Tag) GitHub Latest Stable Tag) GitHub License GitHub go.mod Go version GitHub Pull Requests GitHub Contributors GitHub Committers GitHub Commit Activity

Overview

MQTT Micro Service - device service for connecting a MQTT topic to EdgeX acting like a device/sensor feed.

Build with NATS Messaging

Currently, the NATS Messaging capability (NATS MessageBus) is opt-in at build time. This means that the published Docker image and Snaps do not include the NATS messaging capability.

The following make commands will build the local binary or local Docker image with NATS messaging capability included.

make build-nats
make docker-nats

The locally built Docker image can then be used in place of the published Docker image in your compose file. See Compose Builder nat-bus option to generate compose file for NATS and local dev images.

Packaging

This component is packaged as docker image and snap.

For docker, please refer to the Dockerfile and Docker Compose Builder scripts.

For the snap, refer to the snap directory.

Usage

Users can refer to this document to learn how to use this device service.

Community

License

Apache-2.0