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

请问针对消息的方法能不能做个 重排方法 #71

Open
xibusuper opened this issue Mar 15, 2022 · 0 comments
Open

请问针对消息的方法能不能做个 重排方法 #71

xibusuper opened this issue Mar 15, 2022 · 0 comments

Comments

@xibusuper
Copy link

如果需要消息重新消费的话 现在只有一个方法 throw new Exception("")
这个异常因为是 异步的 在代码外还没有办法拦截 这是就会打印到日志文件中,这样老感觉到程序有错误,同时错误日志文件也会增长得比较快

如果能有一个针对消息的 requeue 方法 延迟多少秒 就可以了

我在C源码里面确实找到了 nsq_requeue 方法 但是调用起来没有作用

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

No branches or pull requests

1 participant