Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
root
Creator II
Creator II

TOS ESB - tRestRequest - gzip support

Does the Karaf container have inbuilt support for accepting gzip headers?

I need to speed up sending back a big payload and implementing gzip on the container seems to be the way to go. Typically, the client will request data with gzip Accept, so server can understand, compress the payload and send it back. The client can then deflate the same and consume it, making it efficient.

 

Eg: If a user supplies "Accept-Encoding: gzip", Karaf should respond with "Content-Encoding: gzip" with actual compressed data

 

Please advise.

TIA.

PS: I hope I have asked the right question. Feel free to prod me with further clarifications 😄

Labels (7)
3 Replies
Anonymous
Not applicable

There is a Jira for this that has not yet been worked on. The Karaf will support this, but the components do not at the moment (without some hacking that may not suit your requirement). However, you could approach this from a different perspective using a Talend Route to provide the service.

 

Here is a post on another forum where it is explained from an Apache Camel perspective. This can be replicated in a Talend Route as it is essentially the same underlying technology.....

 

https://stackoverflow.com/questions/20877706/gzip-apache-camel-request-for-rest

 

root
Creator II
Creator II
Author

@Richard Hall​ Thank you your reply. Can you please share the Jira id? Will upvote/ watch the same.

 

I will checkout the other perspective of a Talend Route... I have not explored Routes in general, but, will definitely be interested to learning something new.

 

Thanks again and hope you have a good weekend ahead!

Anonymous
Not applicable

Hi @Calvin Plumberg​ I've just checked to get the link and it turns out that it was raised internally and can only be seen by Talend employees. Feel free to raise this again if you want to add weight to the request 😉