apache / rocketmq-client-cpp

Apache RocketMQ cpp client
https://rocketmq.apache.org/
Apache License 2.0
364 stars 158 forks source link

Inconsistent directory structure Help!! #409

Open shcw opened 2 years ago

shcw commented 2 years ago

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:
ifplusor commented 2 years ago

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

shcw commented 2 years ago

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

ifplusor commented 2 years ago

@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
shcw commented 2 years ago

@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/rocketmq-client-go@v1.2.4/core/pull_consumer.go:46:33: could not determine kind of name for C.E_BROKER_TIMEOUT
ifplusor commented 2 years ago

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

ifplusor commented 2 years ago

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

shcw commented 2 years ago

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

ifplusor commented 2 years ago

@shencw PullConsumer is what you need to use?

shcw commented 2 years ago

@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 😂

ShannonDing commented 2 years ago

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

shcw commented 2 years ago

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