We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
version v2.1.0
push_comsumer.go, line 1037~1040:
if offset >= 0 && !pq.IsDroppd() { pc.storage.update(mq, int64(offset), true) } if len(msgBackFailed) > 0 { subMsgs = msgBackFailed time.Sleep(5 * time.Second) goto RETRY }
note: goto retry after offset update,if application crash at this moment,msg lost!
The text was updated successfully, but these errors were encountered:
yes, it seems something error here. remove Messages consumer succ from pq is right. like this.
for i := 0; i < len(subMsgs); i++ { msg := subMsgs[i] if !pc.sendMessageBack(mq.BrokerName, msg, concurrentCtx.DelayLevelWhenNextConsume) { msg.ReconsumeTimes += 1 msgBackFailed = append(msgBackFailed, msg) }else { msgBackSucc =append(msgBackSucc,msg) } } offset := pq.removeMessage(msgBackSucc...) if offset >= 0 && !pq.IsDroppd() { pc.storage.update(mq, int64(offset), true) }
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
version v2.1.0
push_comsumer.go, line 1037~1040:
note: goto retry after offset update,if application crash at this moment,msg lost!
The text was updated successfully, but these errors were encountered: