-
Notifications
You must be signed in to change notification settings - Fork 7
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
Implement SSE #90
Implement SSE #90
Conversation
b987563
to
217ec4d
Compare
Let me know if you need some more assistance here :) |
Hey @Acconut thank you for the reminder! I was occupied with other work in the meantime. I would like to continue on this soon. I let you know if I need anything :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is looking sharp! I have only a few comments and then we can get this on the road. Congrats on getting this so far 🎉
Remove Debugging Output in EventsourceRunnable.java Stop throwing on unknown events in EventsourceRunnable.java Adjust AssemblyListener.java to reflect the new SSE functionalities
Change the SSE test resource-file's extension
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for the final updates! I have included a few suggestions to improve the documentation's spelling and some other minor comments. Other than that, this is good to go!
examples/src/main/java/com/transloadit/examples/ImageResizer.java
Outdated
Show resolved
Hide resolved
examples/src/main/java/com/transloadit/examples/ImageResizer.java
Outdated
Show resolved
Hide resolved
examples/src/main/java/com/transloadit/examples/ImageResizer.java
Outdated
Show resolved
Hide resolved
examples/src/main/java/com/transloadit/examples/ImageResizer.java
Outdated
Show resolved
Hide resolved
examples/src/main/java/com/transloadit/examples/KotlinExample.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: Marius Kleidl <[email protected]>
- Change TusUploadRunnable.java and EventsourceRunnable.java visibility to package private
Also attempt to make the test thread safe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can tell, all feedback got addressed and the tests are passing. So this PR is good to go 🚀 Congrats on finishing this incredible work 🏅
Thanks! I will do another double-check and merge it then :) |
Congrats on landing this 💪💪 we should have a column in the sdks table in the docs: supports SSE :) |
Implement Server Sent Events (SSE) as replacement for socket polling.
This is due to SSE preference from the Transloadit API.