Anant Pathak
Anant Pathak

Reputation: 207

How to use Brotli compression in Spring Boot?

I have a production deployed Spring Boot service behind envoy and currently it has an API that uses gzip compression and serves JSON response. Recently came across Brotli and I'm trying to figure out how to use this compression in the application. Any references would be highly appreciated.

Upvotes: 5

Views: 2684

Answers (1)

bharathi raja
bharathi raja

Reputation: 1

SpringBoot and Netty does not support Brotli Encoding and Decodig. Currently it supports only Gzip Encoding and Decoding. Probably custom filter will make this work

Upvotes: 0

Related Questions