![]() Fixes https://emqx.atlassian.net/browse/EMQX-12730 |
||
---|---|---|
.. | ||
etc | ||
include | ||
src | ||
test | ||
README.md | ||
mix.exs | ||
rebar.config |
README.md
EMQX Modules
The application provides some minor functional modules that are not included in the MQTT protocol standard, including "Delayed Publish", "Topic Rewrite", "Topic Metrics".
Delayed Publish
After enabling this module, messages sent by the clients with the topic prefixed with
$delayed/{Interval}/{Topic}
will be delayed by {Interval}
seconds before
being published to the {Topic}
.
More introduction about Delayed Publish.
See Enabling/Disabling Delayed Publish via HTTP API.
Topic Rewrite
Topic Rewrite allows users to configure rules to change the topic strings that the client requests to subscribe or publish.
This feature is very useful when there's a need to transform between different topic structures. For example, an old device that has already been issued and cannot be upgraded may use old topic designs, but for some reason, we adjusted the format of topics. We can use this feature to rewrite the old topics as the new format to eliminate these differences.
More introduction about Topic Rewrite.
See List all rewrite rules and Create or Update rewrite rules.
Topic Metrics
Topic Metrics is used for users to specify monitoring of certain topics and to count the number of messages, QoS distribution, and rate for all messages on that topic.
More introduction about Topic Metrics.
See HTTP API docs to List all monitored topics, Create topic metrics and Get the monitored result.