-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Json stream item is not processed immediately after receiving in ChunkedStreamingMultiSubscriber.class #30690
Comments
/cc @FroMage (resteasy-reactive), @Sgitario (resteasy-reactive), @stuartwdouglas (resteasy-reactive) |
@Sgitario mind taking a look at this? |
Sgitario
added a commit
to Sgitario/quarkus
that referenced
this issue
Jan 31, 2023
Sgitario
added a commit
to Sgitario/quarkus
that referenced
this issue
Jan 31, 2023
Fix: #30737 |
Sgitario
added a commit
to Sgitario/quarkus
that referenced
this issue
Feb 6, 2023
issue updated with reproducer for quarkus 3.0.1.Final |
Sgitario
added a commit
to Sgitario/quarkus
that referenced
this issue
Apr 28, 2023
Sgitario
added a commit
to Sgitario/quarkus
that referenced
this issue
May 16, 2023
michelle-purcell
pushed a commit
to michelle-purcell/quarkus
that referenced
this issue
May 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When using rest endpoint with
application/stream+json
content type, after receiving json object is not processed immediately.Client is expecting stream element separator to process element. Separator is sent as prefix with subsequent elements. This means that stream element is processed after receiving next one.
Expected behavior
Stream element should be processed immediately after receiving.
Maybe ChunkedStreamingMultiSubscriber should add separator as postfix, not as prefix with next item.
Actual behavior
Strem element is processed after receiving next one (or stream closed).
How to Reproduce?
Reproducer: https://github.com/paloliska/json-stream
steps:
Output of
uname -a
orver
Linux user 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "17.0.5" 2022-10-18
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.16.0.Final, 3.0.1.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.6.3
Additional information
No response
The text was updated successfully, but these errors were encountered: