-
Notifications
You must be signed in to change notification settings - Fork 13
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
QQE 378 HTTP module / REST use-cases - Development topic compression Brotli4j #161
Conversation
1d3d0eb
to
192eab7
Compare
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.
I could go on, but it's a draft so I just left few notes. Cheers :-)
Hello @jcarranzan , I'm not going to continue discussion in individual comment threads because there seems to be something I don't link about this TP in general, not particular lines. You say:
I don't know where these information comes form, but it doesn't seem to be correct.
I gave you link for the and it says: Note that the compression format (e.g., gzip) must be specified in the Content-Encoding header in the request. which means you just set content-encoding to the Please consider rewriting this TP so that we actually test Quarkus support to Brotli4j compression and not Vert.x support. I think we should use Quarkus constructs, that is we set these configuration properties (enable compression) we use annotations and headers. If that is not sufficient, then please consider opening bug in Quarkus. Thank you BTW when looking into this, I also mentioned netty extensions handles brotli4j already, so you don't need to add it and it should work in native. |
Hi @michalvavrik , my comments about this PR came from the fact that last week I was experimenting with the code and the documentation. Indeed, there isn't much information about Brotli4J compression in the Quarkus docs, and I couldn't find much in the Quarkus core code either, except that the Netty extensions handle Brotli4J. Therefore, in Vert.x, it's also handled with custom HTTP server configuration, as I did a draft PR here (draft). That being said, I pushed some classes with the basic Quarkus setup to my branch to see if I could implement Brotli4J compression, as you suggested, but I wasn't successful. So, I would appreciate it if you could take a look and see if you notice anything that I might be missing. (branch--> https://github.com/jcarranzan/quarkus-test-suite/tree/brotli4j-coverage-3.8). Thanks |
Tried it. Using So to conclude this TP, I suggest:
Please answer following questions:
|
In regards of the 8192, can you please check whether raising https://quarkus.io/guides/all-config#quarkus-vertx-http_quarkus-http-limits-max-chunk-size helps? If not, there should be opened documentation issue linked with this TP. Thank you |
rm QUARKUS-343.md tweaks and changes tweaking test scenarios description Add explanation introductory about this BRotli4J coverage and add some improvements in testing scope add decompression scenario
|
Links
Jira : https://issues.redhat.com/browse/QQE-378
Quarkus documentation:
Reminder for considerable topics
Make sure you have considered the following areas when preparing the test plan: