├── .gitignore ├── .travis.yml ├── BUILD.md ├── CMakeLists.txt ├── LICENSE-Apache ├── LatencyTests.md ├── PerfTest100M.md ├── README.md ├── TODO.md ├── examples ├── README.md ├── include │ └── lightq_api.h ├── lib │ └── liblightq.dylib ├── lightq-broker.c ├── lightq-consumer.c ├── lightq-producer.c ├── lightq-test.cpp └── lightq-topic.c ├── include ├── admin_cmd.h ├── broker.h ├── broker_config.h ├── broker_manager.h ├── broker_storage.h ├── connection.h ├── connection_file.h ├── connection_socket.h ├── connection_zmq.h ├── consumer.h ├── file_details.h ├── lightq_api.h ├── log.h ├── monitor_zmq.h ├── producer.h ├── thirdparty │ ├── atomicops.h │ ├── concurrentqueue.h │ ├── picojson.h │ ├── readerwriterqueue.h │ ├── spdlog │ │ ├── async_logger.h │ │ ├── common.h │ │ ├── details │ │ │ ├── async_log_helper.h │ │ │ ├── async_logger_impl.h │ │ │ ├── file_helper.h │ │ │ ├── format.cc │ │ │ ├── format.h │ │ │ ├── line_logger.h │ │ │ ├── log_msg.h │ │ │ ├── logger_impl.h │ │ │ ├── mpmc_bounded_q.h │ │ │ ├── null_mutex.h │ │ │ ├── os.h │ │ │ ├── pattern_formatter_impl.h │ │ │ ├── registry.h │ │ │ └── spdlog_impl.h │ │ ├── formatter.h │ │ ├── logger.h │ │ ├── sinks │ │ │ ├── base_sink.h │ │ │ ├── file_sinks.h │ │ │ ├── null_sink.h │ │ │ ├── ostream_sink.h │ │ │ ├── sink.h │ │ │ ├── stdout_sinks.h │ │ │ └── syslog_sink.h │ │ └── spdlog.h │ ├── zhelpers.hpp │ └── zmq.hpp └── utils.h └── src └── lightq_api.cpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/.travis.yml -------------------------------------------------------------------------------- /BUILD.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/BUILD.md -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE-Apache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/LICENSE-Apache -------------------------------------------------------------------------------- /LatencyTests.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/LatencyTests.md -------------------------------------------------------------------------------- /PerfTest100M.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/PerfTest100M.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/TODO.md -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/include/lightq_api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/examples/include/lightq_api.h -------------------------------------------------------------------------------- /examples/lib/liblightq.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/examples/lib/liblightq.dylib -------------------------------------------------------------------------------- /examples/lightq-broker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/examples/lightq-broker.c -------------------------------------------------------------------------------- /examples/lightq-consumer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/examples/lightq-consumer.c -------------------------------------------------------------------------------- /examples/lightq-producer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/examples/lightq-producer.c -------------------------------------------------------------------------------- /examples/lightq-test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/examples/lightq-test.cpp -------------------------------------------------------------------------------- /examples/lightq-topic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/examples/lightq-topic.c -------------------------------------------------------------------------------- /include/admin_cmd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/admin_cmd.h -------------------------------------------------------------------------------- /include/broker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/broker.h -------------------------------------------------------------------------------- /include/broker_config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/broker_config.h -------------------------------------------------------------------------------- /include/broker_manager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/broker_manager.h -------------------------------------------------------------------------------- /include/broker_storage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/broker_storage.h -------------------------------------------------------------------------------- /include/connection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/connection.h -------------------------------------------------------------------------------- /include/connection_file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/connection_file.h -------------------------------------------------------------------------------- /include/connection_socket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/connection_socket.h -------------------------------------------------------------------------------- /include/connection_zmq.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/connection_zmq.h -------------------------------------------------------------------------------- /include/consumer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/consumer.h -------------------------------------------------------------------------------- /include/file_details.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/file_details.h -------------------------------------------------------------------------------- /include/lightq_api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/lightq_api.h -------------------------------------------------------------------------------- /include/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/log.h -------------------------------------------------------------------------------- /include/monitor_zmq.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/monitor_zmq.h -------------------------------------------------------------------------------- /include/producer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/producer.h -------------------------------------------------------------------------------- /include/thirdparty/atomicops.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/atomicops.h -------------------------------------------------------------------------------- /include/thirdparty/concurrentqueue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/concurrentqueue.h -------------------------------------------------------------------------------- /include/thirdparty/picojson.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/picojson.h -------------------------------------------------------------------------------- /include/thirdparty/readerwriterqueue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/readerwriterqueue.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/async_logger.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/async_logger.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/common.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/async_log_helper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/async_log_helper.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/async_logger_impl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/async_logger_impl.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/file_helper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/file_helper.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/format.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/format.cc -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/format.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/format.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/line_logger.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/line_logger.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/log_msg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/log_msg.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/logger_impl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/logger_impl.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/mpmc_bounded_q.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/mpmc_bounded_q.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/null_mutex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/null_mutex.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/os.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/os.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/pattern_formatter_impl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/pattern_formatter_impl.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/registry.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/registry.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/details/spdlog_impl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/details/spdlog_impl.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/formatter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/formatter.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/logger.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/logger.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/sinks/base_sink.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/sinks/base_sink.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/sinks/file_sinks.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/sinks/file_sinks.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/sinks/null_sink.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/sinks/null_sink.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/sinks/ostream_sink.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/sinks/ostream_sink.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/sinks/sink.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/sinks/sink.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/sinks/stdout_sinks.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/sinks/stdout_sinks.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/sinks/syslog_sink.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/sinks/syslog_sink.h -------------------------------------------------------------------------------- /include/thirdparty/spdlog/spdlog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/spdlog/spdlog.h -------------------------------------------------------------------------------- /include/thirdparty/zhelpers.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/zhelpers.hpp -------------------------------------------------------------------------------- /include/thirdparty/zmq.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/thirdparty/zmq.hpp -------------------------------------------------------------------------------- /include/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/include/utils.h -------------------------------------------------------------------------------- /src/lightq_api.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LightIO/LightQ/HEAD/src/lightq_api.cpp --------------------------------------------------------------------------------