James Yean

Results 83 comments of James Yean

`PullRequest`是由`Rebalance::m_requestQueueTable`持有的,`AsyncPullCallback`中只是弱指针引用。 我认为问题在于sdk中在复用`AsyncPullCallback`时,跨越了`PullRequest`的生命周期。理想的方案应该是`PullRequest`持有一个`AsyncPullCallback`用于复用。

看[build.sh](https://github.com/apache/rocketmq-client-cpp/blob/master/build.sh),里面是编译步骤

就是以前没需求,然后特别做过对应的编译测试。不过我认为unix和linux/darwin差别不大,只要依赖能编译过,这个项目本身的编译应该没什么问题。

> 172.22.6.0 255.255.255.0 10.1.1.1 10.103.0.3 260 这条路由的网关是`10.1.1.1`,但虚拟网是`10.103.0.0/24`,看着比较奇怪。可以试一下在分配ip时指定子网

FYI: https://github.com/apache/rocketmq-client-cpp/blob/c7777af437156841ba2f15d004d0aa0a16d4b4e6/src/transport/TcpTransport.cpp#L146-L177 It seems the `TcpTransport::connect` method is not compatible with IPv6.

@HUHANK 你用的哪个版本?你再看看别的线程的堆栈

There is no plan in the c++ client. Maybe you can look at the [new client project](https://github.com/apache/rocketmq-clients).

@long5270 @goingHan 我看了一下,现在sdk上是没有相应接口的。但是可以通过先用mqadmin设置offset,再启动consumer的方式绕过。