-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Orderly Consumer will not reconsume the message #650
Comments
well, I found that If I consumer message failed and return |
may be rel here bug #618 |
yep, I check the code, but i still have a question. may |
If message not in |
type processQueue struct {
cachedMsgCount int64
cachedMsgSize int64
msgCache *treemap.Map
consumingMsgOrderlyTreeMap *treemap.Map
} i think rocketmq-client-go/consumer/push_consumer.go Line 583 in dfa26d1
first problem is #615 ,if consuming orderly and failed, the cachedMsgCount will increase and can't consume any more. |
as you said, |
I review the code, I think the problem is the funciton |
I can't say problem is i think problem is |
we try to use the orderly consumer, but when we return the
SuspendCurrentQueueAMoment
, we found the message will not be reconsumed again.Another problem is that when we send another message which commit
ConsumeSuccess
, all the messages including the blocked ones will commited all at once, which will lead to message missing.how we init the consumer :
The text was updated successfully, but these errors were encountered: