lua-resty-pubsub

Lua Pubsub client driver for the ngx_lua based on the cosocket API

$ luarocks install lua-resty-pubsub

This Lua library is a Pubsub client driver for the ngx_lua nginx module: http://wiki.nginx.org/HttpLuaModule

This Lua library takes advantage of ngx_lua's cosocket API, which ensures 100% nonblocking behavior. This library pushes messages (with attributes) to Google Cloud pubsub using nginx timers and http

Note that at least [ngx_lua 0.9.3](https://github.com/openresty/lua-nginx-module/tags) or [ngx_openresty 1.4.3.7](http://openresty.org/#Download) is required, and unfortunately only LuaJIT supported (`--with-luajit`).

Versions

1.5-041 days ago708 downloads
1.4-03 years ago40,900 downloads
1.3-04 years ago2,550 downloads
1.2-04 years ago75 downloads
1.1-04 years ago764 downloads
1.0-04 years ago141 downloads

Dependencies

lua >= 5.1
lua-cjson >= 2.1.0.6

Manifests