-
Notifications
You must be signed in to change notification settings - Fork 203
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
Error in consumer is not fetching data from Redis queue after working for a while #79
Comments
Hey! Are you calling |
yes I'm acking... type AgentConsumer struct {
}
func NewAgentConsumer() *AgentConsumer {
return &AgentConsumer{}
}
func (consumer *AgentConsumer) Consume(delivery rmq.Delivery) {
msg := delivery.Payload()
delivery.Ack()
log.Debugf("Got message ...")
qin.Append(&JobQItem{
data: []byte(msg),
})
} The agents has already consumed 6 messages ... I can not understand why ... Any Idea? |
Hi @wellle , the Anyway There is no jobs in the internal queue when I restart the agent , and restarts doesn't fix the problem. There is any way to debug the remote redis queues stats and the consuming processing? Thank you very much |
I'm sorry @wellle the problem seems to be in the "Redis DeskTop Manager" tool, which are stealing me the messages (I can not see messages without modify data) , once stopped this tool, all messages are getting consumed by the agents. I'm sorry again! |
That’s good to know, thanks for the update. |
Hello , and thank you everybody who is working or contributing with this great project
I'm trying to run rmq to build a distributed job load system, I have a master building jobs and right now only one agent running jobs.
The master has processed from buildID 1259 to 1270, but the agent has consumed and acked only the 1259,1260,1261,1262,1263,1266, all the other still in the queue as you can see in my "Redis DeskTop Manager" screenshot
I have configured the agent to fetch data for each second
I've restarted the agent but nothing happens, data still in queue. Data is not fetched anymore ( the producer "master" agent is stopped right now)
Thank you in advance
The text was updated successfully, but these errors were encountered: