LuaRocks.org had a security incident in September 2026. Read the incident report.

kong-lua-resty-kafka

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

$ luarocks install kong-lua-resty-kafka

This package is a fork of https://github.com/doujiang24/lua-resty-kafka that extends
its functionality for:

* mTLS support
* SASL (PLAIN) support

This Lua library requires to patch OpenResty with changes made in lua-ngx-module by this PR:
https://github.com/openresty/lua-nginx-module/pull/1602

This Lua library is a Kafka 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.

Note that at least ngx_lua 0.9.3 or ngx_openresty 1.4.3.7 is required, and unfortunately only LuaJIT supported (--with-luajit).

Versions

0.21-01 year ago4,583 downloads
0.20-02 years ago12,768 downloads
0.19-02 years ago1,931 downloads
0.18-02 years ago44,000 downloads
0.17-03 years ago14,332 downloads
0.16-03 years ago13,662 downloads
0.15-03 years ago11,310 downloads
0.14-03 years ago11,257 downloads
0.13-04 years ago(revision: 5)15,071 downloads
0.12-05 years ago16,349 downloads
0.11-05 years ago129 downloads
0.10-05 years ago117 downloads

Dependencies

lua >= 5.1
penlight == 1.13.1

Manifests