-
Notifications
You must be signed in to change notification settings - Fork 100
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
Redis message ID #60
Comments
I can't say I follow what you are trying to say. |
I want to delete a message to prevent consuming, but for call Delete method I need to pass message ID which you didn't set on XAdd method here: Redis client
My problem is that I can't access message ID after adding it to queue for use it to delete message in future before consuming. |
Running into the same problem. I agree with @sajjadrad that the msg.ID should be the one created by redis, otherwise the delete does not work. |
Ah. Just seeing this. I am guessing this is related to #143 ? |
XAck
method need message ID to delete, but message ID doesn't pass to client inXAdd
method and "*" set as steam ID as default.Also
XAdd
method returnStringCmd
struct that contains stream ID asval
property. You can return stream ID (which generated by Redis client) with error in redis queueAdd
method to use it for deleting message from stream.The text was updated successfully, but these errors were encountered: