Skip to content
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

nsqd: deferred messages persistence #871

Closed
eshizhan opened this issue Mar 29, 2017 · 1 comment
Closed

nsqd: deferred messages persistence #871

eshizhan opened this issue Mar 29, 2017 · 1 comment
Labels

Comments

@eshizhan
Copy link

The deferred message is persistence?
My HandleMessage return error, the message should be requeue, and I restart nsqd, the deferred message not be recovered. I missing something?

func (th *tailHandler) HandleMessage(m *nsq.Message) error {
        if rand.Intn(99) < 1 {
                return errors.New("error message")
        }
        th.messagesShown++
        return nil
}
@mreiferson
Copy link
Member

Hi @eshizhan — this is a known issue, see #34 and ultimately #510.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants