Actual
ApiClient data buffer still set to default 256K
How to fix
In ApiClientMethodInterceptor, make it read the CodecProperties too, see org.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration.DefaultCodecsConfiguration.defaultCodecCustomizer
Workaround
Create ApiClientCodecCustomizer and set defaultCodec's maxInMemorySize
What I set
spring.codec.max-in-memory-size=100MB
Expected ApiClient data buffer will increase
Actual ApiClient data buffer still set to default 256K
How to fix In
ApiClientMethodInterceptor
, make it read theCodecProperties
too, seeorg.springframework.boot.autoconfigure.http.codec.CodecsAutoConfiguration.DefaultCodecsConfiguration.defaultCodecCustomizer
Workaround Create
ApiClientCodecCustomizer
and set defaultCodec'smaxInMemorySize