c8202196
c8202196
辛苦老哥,cpp版本用1.2.2就编译过去了
使用rocketmq-client-cpp-2.1.0,结合当前rocketmq-client-php编译过去了。但是在运行代码的时候报错了: terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped) 具体在下列最后一行代码中断: $consumer = new \RocketMQ\PullConsumer(env('ROCKETMQ_GROUP')); $consumer->setInstanceName(""); $consumer->setTopic(env('ROCKETMQ_TOPIC')); $consumer->setNamesrvAddr(env('ROCKETMQ_NAMESVR')); $consumer->setSessionCredentials(env('ROCKETMQ_AK'), env('ROCKETMQ_SK'), ""); $consumer->start(); $queues = $consumer->getQueues(); $offset...