We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
貌似
queue := kq.MustNewQueue(c.Kafka, kq.WithHandle(service.Consume))
这一行报错了,因为原有的Consume的签名为:Consume(_ string, value string) error,但是ConsumeHandle还需要context.Context参数,设置这个参数后就没有报错了。不知道是不是一个小问题?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
貌似
这一行报错了,因为原有的Consume的签名为:Consume(_ string, value string) error,但是ConsumeHandle还需要context.Context参数,设置这个参数后就没有报错了。不知道是不是一个小问题?
The text was updated successfully, but these errors were encountered: