rocketmq-client-cpp icon indicating copy to clipboard operation
rocketmq-client-cpp copied to clipboard

Inconsistent directory structure Help!!

Open shcw opened this issue 2 years ago • 11 comments

The issue tracker is ONLY used for the CPP/C client (feature request of RocketMQ need to follow RIP process). Keep in mind, please check whether there is an existing same report before your raise a new one.

Alternately (especially if your communication is not a bug report), you can send mail to our mailing lists. We welcome any friendly suggestions, bug fixes, collaboration, and other improvements.

Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as to the following:

BUG REPORT

  1. Please describe the issue you observed:
  • What did you do (The steps to reproduce)? i used re_dev branch

  • What did you expect to see? The master branch and the re_dev branch have the same directory structure

  • What did you see instead? re_dev include directory include/c and include/* master include directory include/*

shcw avatar Mar 11 '22 09:03 shcw

I restructure it. What problem do you encounter with the new structure?

ifplusor avatar Mar 11 '22 10:03 ifplusor

i use https://github.com/apache/rocketmq-client-go/tree/v1.2.4 version A lot of files can't be found 😭

shcw avatar Mar 16 '22 11:03 shcw

@shencw You need to use below command

sudo cp rocketmq-client-cpp/include/c/* /usr/local/include/rocketmq

instead of

sudo cp rocketmq-client-cpp/include/* /usr/local/include/rocketmq

ifplusor avatar Mar 17 '22 04:03 ifplusor

@ifplusor I try to use the prompt like this and the result is as follows

# github.com/apache/rocketmq-client-go/core
../../../go/pkg/mod/github.com/apache/[email protected]/core/pull_consumer.go:46:33: could not determine kind of name for C.E_BROKER_TIMEOUT

shcw avatar Mar 17 '22 09:03 shcw

@shencw modify CPullResult.h with https://github.com/ifplusor/rocketmq-client-cpp/commit/560f47145b39245890b2911bfcb52e1094ae609a

ifplusor avatar Mar 17 '22 10:03 ifplusor

I want to remind you that the re_dev branch does not support PullConsumer.

ifplusor avatar Mar 17 '22 10:03 ifplusor

do I have anything I can use ? Mac M1 (Big Sur) or Mac intel (Big Sur)

shcw avatar Mar 17 '22 10:03 shcw

@shencw PullConsumer is what you need to use?

ifplusor avatar Mar 17 '22 10:03 ifplusor

@shencw PullConsumer is what you need to use?

@ifplusor

yes, i need to maintain a bought old system

because there is not enough time, I want it to run ahead of time

now i are developing on CentOS7, But it's not as convenient as MAC OS 😂

shcw avatar Mar 17 '22 11:03 shcw

maybe you can have a try on the native go client. https://github.com/apache/rocketmq-client-go/tree/master/examples/consumer/pull

ShannonDing avatar Jun 28 '22 03:06 ShannonDing

don't use here ?? @ShannonDing https://github.com/apache/rocketmq-client-go/blob/master/api.go#L139

shcw avatar Jun 28 '22 03:06 shcw