Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

DTLaboratory/dtlab-ingest-mqtt

Repository files navigation

DtLab MQTT Ingest

Codacy Badge

alt text

Listen for data on an MQTT topic and post each message to a remote HTTP service (probably a dtlab-ingest instance).

DTLAB_INGEST_URL=http://localhost/dtlab/ingest:8080 MQTT_URL=ssl://some.iot-server.io:12345 KEYSTORE_PASSWORD=your-password KEYSTORE_PATH=/Users/your/secrets/client.jks sbt run

Build and run

sbt assembly
java -jar target/scala-2.12/DtlabIngestMqtt.jar

Test and Code Coverage

sbt clean coverage test
sbt coverageReport
open target/scala-2.12/scoverage-report/index.html

Code Stats

sbt stats

Check dependencies

sbt dependencyUpdates