Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
AbstractJackson2Encoder::getContentLength should not return null for MonoJust/FluxJust publisher [SPR-16892] #21431
We're trying to use
In #21085, the
In my understanding, for
Rossen Stoyanchev commented
For Jackson we'd have to buffer the serialized content in memory before writing anything out, so the trade-off is between having Content-Length and requiring less memory.
Mirko Adebahr commented
As this would solve our specific issue it would be perfectly sufficient. I just took it for granted that the encoder has to provide the content length thus the issue title.
Still, it is possible that the alternative options you mentioned could be valuable for other users - I myself found it difficult to understand why some