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

Fixed missing name for done notifications #1305

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

PyvesB
Copy link

@PyvesB PyvesB commented Aug 9, 2018

This is a proposed fix for an issue faced by several users, namely "done" notifications containing an empty name fields when using specific vendors. See issues #351, #538, #789 and others for more information.

The idea is in essence quite simple: if the name is no longer present in the notify context (probably due to the second on_publish event mentioned by some issues), try to get it from the live context of the stream that is about to close.

I am aware that this may not necessarily be the ideal workaround, but it has proven very useful in our use cases and has given good results on our production systems. I am happy to hear about any other ideas or feedback. 👍

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

Successfully merging this pull request may close these issues.

3 participants