Use EMQX Edge: Tutorials for Advanced Scenarios
This section introduces several advanced features in EMQX Edge that enhance its reliability, security, and integration capabilities. These tutorials are designed to guide you through the configuration, testing, and validation of key functionalities critical for production deployments.
Whether you're securing MQTT connections, persisting retained messages, or integrating with external systems, these hands-on guides provide clear instructions and practical examples to help you get started.
Retain Message Persistence Tutorial
Ensure retained MQTT messages are preserved across restarts using EMQX Edge’s built-in SQLite-based persistence.
- Enable persistence through configuration.
- Understand message flushing and thresholds.
- Validate retained message recovery after a restart.
WebHook Integration
Integrate EMQX Edge with external systems using WebHooks to push real-time MQTT events.
- Configure webhook rules in the EMQX Edge config.
- Use supported events:
on_client_connack
,on_client_disconnected
, andon_message_publish
. - Test webhook delivery with MQTTX and a local HTTP server.
Explore the tutorials to deepen your understanding and optimize your EMQX Edge deployment.
SSL/TLS Support in EMQX Edge
Learn how to enable secure communication between EMQX Edge and MQTT clients or upstream brokers using TLS.
- Understand one-way vs. two-way TLS authentication.
- Generate certificates using OpenSSL.
- Configure TLS-secured bridges.