apache / rocketmq-client-python

Apache RocketMQ python client
https://rocketmq.apache.org/
Apache License 2.0
277 stars 95 forks source link

提供最新编译的包,有需要的可以下载 #148

Open naah69 opened 7 months ago

naah69 commented 7 months ago

目前的rocketmq-client-cpp包含以下俩个问题

  1. https://github.com/apache/rocketmq-client-cpp/issues/456
  2. https://github.com/apache/rocketmq-client-cpp/issues/293#issuecomment-2050991644

debian系:rocketmq-client-cpp-2.2.1.amd64.deb.zip

redhat系:rocketmq-client-cpp-2.2.1-centos.x86_64.rpm.zip

所以我对官方代码进行了重新编译,主要两处变更:

  1. 使用gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) 编译
  2. 魔改:为了最小化rebalance后的重复消费影响,改了源码中DefaultPushConsumer批量拉取消息的数量,改为1了 https://github.com/apache/rocketmq-client-cpp/blob/c7777af437156841ba2f15d004d0aa0a16d4b4e6/src/consumer/DefaultMQPushConsumerImpl.cpp#L698