mirror of
https://github.com/vxcontrol/lualibs-amqp.git
synced 2026-07-01 08:47:26 -04:00
ff5db20f332caf3f486e025bc481ba538f673dc5
LUA-AMQP
Lua Client for AMQP 0.9.1, while this has been tested only with RabbitMQ it should work with any other AMQP 0.9.1 broker.
This library is a fork of :
https://github.com/mengz0/amqp
https://github.com/ZigzagAK/amqp
This library can be used with LuaJIT and does not have to be used only in OpenResty.
Additional features
This fork contains the code that is missing in the original library and some additions:
- Support for CQUEUES, NGX.SOCKET, SOCKET
- Decode all AMQP packets
- Support SSL
- Examples on how to use this library.
- Removed not working bitopers.lua, also not needed for my use case.
- Automatic installation of most dependencies.
Requirements
- LuaJIT >= 2.1
- busted 2.0 (Testing framework)
- luabitop (if you are using lua 5.1)
Examples
Please look at the example directory instead.
- lua inspect is needed by the example, though you are of course free not to use it and remove it.
luarocks install inspect
luarocks install lua-resty-uuid
luarocks install argparse
Description
Languages
Lua
100%