Skip to content

Y130/lua-kafka-gateway

Repository files navigation

lua-kafka-gateway

a h5 api gateway for kafka

安装openresty

[1] 安装依赖包

$ yum install -y gcc gcc-c++ readline-devel pcre-devel openssl-devel tcl perl

[2] 安装 openresty

click openresty-1.13.6.1.tar.gz start download

$ tar -xvf openresty-VERSION.tar.gz
$ cd openresty-VERSION/
$ ./configure -j2
$ make -j2
$ sudo make install

where VERSION should be replaced by a concrete version number of OpenResty, like 1.13.6.1.

[3] 环境变量
better also add the following line to your ~/.bashrc or ~/.bash_profile file.

export PATH=/usr/local/openresty/bin:$PATH

Start

$ cd /path/to/lua-kafka-gateway
$ sh ./bin/start.sh

Stop

$ cd /path/to/lua-kafka-gateway
$ sh ./bin/stop.sh

About

a h5 api gateway for kafka

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published