-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
Add delivered event #10
Comments
Yes, it's missing. It should be easy to add though. Just for a reference, here is where it is originally emitted in Mosca: |
yea, and that line was committed by me if you remember @mcollina :)) same for this topic ;) I want to make sure the very first version of aedes is feasible for me to port my app on, this is my main concern 👍 |
@mcollina : Do you know when can we have delivered event? |
I'll create a PR this week @guptaashishiitr |
Submitted a PR #39 that should address this. Let me know if this is the desired behavior. I tried to repeat what was done in Mosca referenced above. |
Current Another nice solution could be the One of the above should be implemented @mcollina |
@behrad you are right. This change requires a change in the persistences modules, mainly the call to https://github.com/mcollina/aedes-persistence#instanceoutgoingclearmessageidclient-packet-callbackerr need to also return the packet. Moreover, for QoS 2 we need to change https://github.com/mcollina/aedes-persistence#instanceoutgoingupdateclient-packet-callbackerr to retain the original packet (currently it is overwritten during the QoS 2 flow), or at least keep |
@behard Can you give some help in this one? It will probably require a bit of rework on the persistences. |
Sure, I'll check this. |
for QOS 2 shouldn't we ack on PUBCOMP instead? |
I don't see how |
Please first merge moscajs/aedes-persistence#2 |
Both pubcomp and puback are handled in the same way. |
Ok great, I was looking for a pubcomp.js file in handlers ;) |
I also filed moscajs/aedes-persistence-redis#5, do you think these 3 PRs can now be merged @mcollina ? |
Releasing now (aedes is 0.19.0). |
delivered
event is not added to aedes yet.The text was updated successfully, but these errors were encountered: