scl enable devtoolset-11 bash
wget https://copr.fedorainfracloud.org/coprs/vbatts/bazel/repo/epel-7/vbatts-bazel-epel-7.repo --no-check-certificate
yum install bazel4 -y
brpc 依赖包安装
yum install epel-release git gcc-c++ make openssl-devel gflags-devel protobuf-devel protobuf-compiler leveldb-devel gperftools-devel gtest-devel gflags-devel glog-devel lmdb-devel -y
运行
bazel run //:http_server
测试
curl http://127.0.0.1:8010/v1/queue/start
curl -d '{"userno":"b123"}' http://127.0.0.1:8010/v1/queue/stats/123