Skip to content

emqplus/emqx-delayed-publish

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EMQ X Delayed Publish

Delayed Publish Plugin. Publish to delayed topics:

$delayed/1/topic
$delayed/60/topic
$delayed/3600/topic

Build the Plugin

make && make tests

Configuration

etc/plugins/emqx_delayed_publish.conf:

## publish filter topic
delayed.publish.filter.1 = delay1/#
delayed.publish.filter.2 = delay2/#

Load the Plugin

./bin/emqx_ctl plugins load emqx_delayed_publish

Example

mosquitto_sub -t "delay1" -q 1
mosquitto_pub -t "$delayed/1/delay1" -q 1 -m 'hello'

License

Apache License Version 2.0

Author

EMQ X Team.

About

EMQ X Delayed Publish

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Erlang 90.2%
  • Makefile 9.8%