All Projects → apache → Rocketmq Client Cpp

apache / Rocketmq Client Cpp

Licence: apache-2.0
Apache RocketMQ cpp client

Labels

Projects that are alternatives of or similar to Rocketmq Client Cpp

Flink Learning
flink learning blog. http://www.54tianzhisheng.cn/ 含 Flink 入门、概念、原理、实战、性能调优、源码解析等内容。涉及 Flink Connector、Metrics、Library、DataStream API、Table API & SQL 等内容的学习案例,还有 Flink 落地应用的大型项目案例(PVUV、日志存储、百亿数据实时去重、监控告警)分享。欢迎大家支持我的专栏《大数据实时计算引擎 Flink 实战与性能优化》
Stars: ✭ 11,378 (+4397.23%)
Mutual labels:  rocketmq
Ali Ons
Aliyun Open Notification Service Client
Stars: ✭ 136 (-46.25%)
Mutual labels:  rocketmq
Openmessaging Benchmark
OpenMessaging Benchmark Framework
Stars: ✭ 184 (-27.27%)
Mutual labels:  rocketmq
Myth
Reliable messages resolve distributed transactions
Stars: ✭ 1,470 (+481.03%)
Mutual labels:  rocketmq
Rocketmq Client Nodejs
Apache RocketMQ nodejs client
Stars: ✭ 131 (-48.22%)
Mutual labels:  rocketmq
Newlife.rocketmq
纯托管轻量级RocketMQ客户端,支持发布消息、消费消息、负载均衡等核心功能!
Stars: ✭ 140 (-44.66%)
Mutual labels:  rocketmq
Springboot Templates
springboot和dubbo、netty的集成,redis mongodb的nosql模板, kafka rocketmq rabbit的MQ模板, solr solrcloud elasticsearch查询引擎
Stars: ✭ 100 (-60.47%)
Mutual labels:  rocketmq
Springboot Study
maven多模块化,springboot项目,基础各种微服务、搜索引擎
Stars: ✭ 215 (-15.02%)
Mutual labels:  rocketmq
Seckill Rocketmq
seckill-rocketmq-基于RocketMQ-电商高并发场景实战
Stars: ✭ 133 (-47.43%)
Mutual labels:  rocketmq
Rocketmq Spring Boot Starter
rocketmq-spring-boot-starter
Stars: ✭ 178 (-29.64%)
Mutual labels:  rocketmq
Rocketmq Exporter
Apache RocketMQ Prometheus Exporter
Stars: ✭ 123 (-51.38%)
Mutual labels:  rocketmq
Xc Spring Cloud Alibaba
spring cloud alibaba(2.2.1最新版)+nacos+dubbo+gateWay+sentinel+rocketmq+(pgsql/mysql8.0的json支持)+ignite集成可用于docker分布式框架+分布式自动化任务+mybatis多数据源+seate+ shardingSphere分布式分库事务解决方案
Stars: ✭ 131 (-48.22%)
Mutual labels:  rocketmq
Rocketmq Client Python
Apache RocketMQ python client
Stars: ✭ 150 (-40.71%)
Mutual labels:  rocketmq
Springboot Labs
一个涵盖六个专栏:Spring Boot 2.X、Spring Cloud、Spring Cloud Alibaba、Dubbo、分布式消息队列、分布式事务的仓库。希望胖友小手一抖,右上角来个 Star,感恩 1024
Stars: ✭ 12,804 (+4960.87%)
Mutual labels:  rocketmq
Blog
每周一篇,内容精简,不咸不淡,期盼探讨。微信公众号:芋道源码【纯源码分享公众号】
Stars: ✭ 2,327 (+819.76%)
Mutual labels:  rocketmq
Whatsmars
Java生态研究(Spring Boot + Redis + Dubbo + RocketMQ + Elasticsearch)🔥🔥🔥🔥🔥
Stars: ✭ 1,389 (+449.01%)
Mutual labels:  rocketmq
Rocketmq Operator
Apache RocketMQ Operator
Stars: ✭ 136 (-46.25%)
Mutual labels:  rocketmq
Rocketmq Spring Boot Starter
Spring Boot starter for RocketMQ
Stars: ✭ 243 (-3.95%)
Mutual labels:  rocketmq
Rocketmq
Mirror of Apache RocketMQ
Stars: ✭ 16,152 (+6284.19%)
Mutual labels:  rocketmq
Aliyun Ons
☁️ SDK of Node.js for Aliyun ONS. 🚀
Stars: ✭ 151 (-40.32%)
Mutual labels:  rocketmq

RocketMQ-Client-CPP

License TravisCI CodeCov GitHub release Twitter Follow

RocketMQ-Client-CPP is the C/C++ client of Apache RocketMQ, a distributed messaging and streaming platform with low latency, high performance and reliability, trillion-level capacity and flexible scalability.

Features

  • produce messages, including normal and delayed messages, synchronously or asynchronously.
  • consume messages, in cluster or broadcast model, concurrently or orderly
  • c and c++ style API.
  • cross-platform, all features are supported on Windows, Linux and Mac OS.
  • automatically rebalanced, both in producing and consuming process.
  • reliability, any downtime broker or name server has no impact on the client.

Build and Install

Linux and Mac OS

note: make sure the following compile tools or libraries have been installed before running the build script build.sh.

  • compile tools:

    • gcc-c++ 4.8.2: c++ compiler while need support C++11
    • cmake 2.8.0: build jsoncpp require it
    • automake 1.11.1: build libevent require it
    • autoconf 2.65: build libevent require it
    • libtool 2.2.6: build libevent require it
  • libraries:

    • bzip2-devel 1.0.6: boost depend it
    • zlib-devel

The build.sh script will automatically download and build the dependency libraries including libevent, json and boost. It will save libraries under rocketmq-client-cpp folder, and then build both static and shared libraries for rocketmq-client. If the dependent libraries are built failed, you could try to build it manually with sources libevent 2.0.22, jsoncpp 0.10.7, boost 1.58.0

If your host is not available to internet to download the three library source files, you can copy the three library source files (release-2.0.22-stable.zip 0.10.7.zip and boost_1_58_0.tar.gz) to rocketmq-client-cpp root dir, then the build.sh will automatically use the three library source files to build rocketmq-client-cpp:

sh build.sh

Finally, both librocketmq.a and librocketmq.so are saved in rocketmq-client-cpp/bin. when using them to build application or library, besides rocketmq you should also link with following libraries -lpthread -lz -ldl -lrt. Here is an example:

g++ -o consumer_example consumer_example.cpp -lrocketmq -lpthread -lz -ldl -lrt

Windows

note: make sure the following compile tools or libraries have been installed before running the build script win32_build.bat:

  • compile tools:
    • vs2015: libevent,jsoncpp,zlib,boost rocket-client require it
    • git: download source code

The build script will automatically download dependent libraries including libevent json and boost to build shared library:

win32_build.bat

If your host is not available to internet to download the four library source files by build script, you can copy the four library source files

zlib-1.2.3-src Extract to $(rocketmq-client-cpp root dir)/thirdparty/zlib-1.2.3-src

libevent-release-2.0.22 Extract to $(rocketmq-client-cpp root dir)/thirdparty/libevent-release-2.0.22

boost_1_58_0 Extract to $(rocketmq-client-cpp root dir)/thirdparty/boost_1_58_0

jsoncpp-0.10.6 Extract to $(rocketmq-client-cpp root dir)/thirdparty/jsoncpp-0.10.6

And then run following command to build x86 rocketmq-client:

win32_build.bat build

to build x64 rocketmq-client:

win32_build.bat build64
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].