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

consumer shutdown will result in unspent mark consumption success #1120

Open
zc24 opened this issue Dec 19, 2023 · 0 comments
Open

consumer shutdown will result in unspent mark consumption success #1120

zc24 opened this issue Dec 19, 2023 · 0 comments

Comments

@zc24
Copy link
Contributor

zc24 commented Dec 19, 2023

if consumer all return ConsumeRetryLater, when consumer run consumer.shutdown. View message trace The message was successfully consumed

err = cs.Subscribe("topic", selector, func(ctx context.Context, ext ...*primitive.MessageExt) (consumer.ConsumeResult, error) { for i := range ext { fmt.Printf("%+v\n", ext[i]) } return consumer.ConsumeRetryLater, nil }) if err != nil { fmt.Println(err) }

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