wangweizZZ commented on pull request #745: URL: https://github.com/apache/rocketmq-client-go/pull/745#issuecomment-995801405
> I have another question: the `manual_pull_consumer.go` have many codes similar to `consumer.go`, could you tell me somewhat your consideration about this? There are two ways to answer this question. 1. At present, `consumer.go` contains a lot of state maintenance, including offset, etc. It is a complete consumer, so `ManualPullConsumer.go` cannot reuse it directly. 2. As I said earlier, `consumer.go` is a complete consumer, at a higher level, so he can reuse `ManualPullConsumer.go`. At the same time, PullConsumer and PushConsumer should be able to reuse `consumer.go`. The above personal thoughts, I don’t know if I answered the question -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
