alepha@docs:~/docs/packages/@alepha-mqtt$
cat core.md1 min read
Last commit:
#@alepha/mqtt - Core
MQTT client and topic provider for Alepha framework.
#Installation
npm install @alepha/mqtt
#Overview
MQTT client module for Alepha.
Provides a lifecycle-managed MQTT client backed by mqtt.js.
Registers MqttJsClientProvider as the default implementation of MqttClientProvider.
#API Reference
#Providers
MqttJsClientProvider— MQTT client provider backed by themqttnpm package (mqtt.js).
#Environment Variables
Environment variables used to configure this module. These can be set in your .env file or through your deployment configuration.
| Variable | Type | Default | Description |
|---|---|---|---|
MQTT_BROKER_URL |
text | mqtt://localhost:1883 | MQTT broker connection URL |