Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
naah69 opened this issue Apr 15, 2024 · 0 comments
Open

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

naah69 opened this issue Apr 15, 2024 · 0 comments

Comments

@naah69
Copy link

naah69 commented Apr 15, 2024

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

  1. ERROR: GetTransport of:xxx get timed_mutex timeout 解决办法 rocketmq-client-cpp#456
  2. consumer stuck in rebalance and doesn't consume messsages rocketmq-client-cpp#293 (comment)

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant