$ luarocks install fffonion-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
* SASL (SCRAM-SHA-256, SCRAM-SHA-512) support
* SASL (SCRAM-SHA-256, SCRAM-SHA-512) Delegation Token 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).