openresty is configured for the kafka_cli client
openresty is configured on the kafka_ser server
tcp2kafka client write kafka program C language compilation
Kafka2tcp.ini is the kafka2tcp configuration file, you need to download the binary from the official website


openresty requires an additional load of http and zlib libraries


The zlib library is compiled and installed in the directory

Openresty download: https://openresty.org/en/download.html

Lua-HTTP library download: https://github.com/ledgetech/lua-resty-http

