You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jersey MP Rest client SseEventPublisher uses SubmissionPublisher internally with PublisherStrategy.BEST_EFFORT and it's SubmissionPublisher#offer method for non-blocking submission.
This makes it non compliant with Reactive Streams for JVM TCK.
Problem this that ignoring backpressure and relying on "Slow subscriber" error is outside the Reactive Streams for JVM spec and because of that also makes it non compliant with MicroProfile REST Client TCK.
All that should be done is to actually propagate back-pressure by oldschool blocking:
danielkec
changed the title
JerseySseBroadcaster should have configurable offer strategy
Jersey MP Rest client SseEventPublisher should use blocking strategy
Sep 27, 2023
danielkec
added a commit
to danielkec/jersey
that referenced
this issue
Sep 27, 2023
Jersey MP Rest client SseEventPublisher uses SubmissionPublisher internally with
PublisherStrategy.BEST_EFFORT
and it'sSubmissionPublisher#offer
method for non-blocking submission.This makes it non compliant with Reactive Streams for JVM TCK.
Problem this that ignoring backpressure and relying on "Slow subscriber" error is outside the Reactive Streams for JVM spec and because of that also makes it non compliant with MicroProfile REST Client TCK.
All that should be done is to actually propagate back-pressure by oldschool blocking:
This is a probable root-cause of helidon-io/helidon/issues/5083
The text was updated successfully, but these errors were encountered: