Skip to content
/ lua-amqp Public
forked from mengz0/amqp

Lua Client for AMQP 0.9.1 (RABBITMQ)

License

Notifications You must be signed in to change notification settings

4mig4/lua-amqp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. LuaJIT >= 2.1
  2. busted 2.0 (Testing framework)
  3. 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

About

Lua Client for AMQP 0.9.1 (RABBITMQ)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 100.0%