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

你好,请问如果出现有消息没有同步到,没有消费那么下次怎么取到未消费的消息? #23

Open
liuchenbaidu opened this issue Aug 19, 2020 · 1 comment

Comments

@liuchenbaidu
Copy link

你好,看你的例子里,消息回执都没有写,写的也是可选。
请问如果出现有消息没有同步到,没有消费那么下次怎么取到未消费的消息?

@ttgml
Copy link

ttgml commented Nov 30, 2022

代码里面有实现ack的方法,例子里面的get方法,会自动ack。
可以把get换成 get_without_ack,然后调ack方法手动ack

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