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

急求!怎么限制topic未读消息大小?? #165

Open
huzhao37 opened this issue Oct 29, 2021 · 4 comments
Open

急求!怎么限制topic未读消息大小?? #165

huzhao37 opened this issue Oct 29, 2021 · 4 comments

Comments

@huzhao37
Copy link

No description provided.

@absolute8511
Copy link
Collaborator

可以empty清理掉消息, 或者重置时间位点把老的数据丢掉

@huzhao37
Copy link
Author

可以empty清理掉消息, 或者重置时间位点把老的数据丢掉

我的意思是想限制生产者生产的消息数量,当队列消息积压达到设置的值后,生产者无法继续写入队列了
另外,还想请教下,消费消息时怎么控制ack是否回复,不回复,消息就还在未读消息中;回复则将消息移入历史消息中

@huzhao37
Copy link
Author

可以empty清理掉消息, 或者重置时间位点把老的数据丢掉

能加你吗?目前公司考虑引入nsq,有些问题想请教下,我的邮箱 694666781@qq.com

@absolute8511
Copy link
Collaborator

限制写没有, 也没有太多意义, 就是为了解耦读写速度的, 堆积到磁盘

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

2 participants