Hi Abdelkader,
I know this is an old post, but I just spend half the day getting this to work..
I can confirm that the SSE is not send to the client until you call close() on the EventOutput.
Then I ran into a stackoverflow post which refers this issue:
https://java.net/jira/browse/JERSEY-3000Somehow the chunked output is captured by the gzip filter and not send right away.
The workaround is to turn off gzip compression in Dropwizard.
If anyone has a proper solution, I'd be interested :)
Cheers
Roland