You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If client option CompressRequestBody is enabled, request body becomes empty in logger request here, because it already read in gzip compressor. Is it bug or normal behavior?
How to reproduce
Implement interface Logger from elastictransport, where RequestBodyEnabled returns true
Enable client option CompressRequestBody
Set logger from step 1 in client
Perform client.Bulk with some not empty body and see empty request body in logger from step 1
The text was updated successfully, but these errors were encountered:
Version
github.com/elastic/go-elasticsearch/v8 v8.15.0
Elasticsearch version: 8.2.2
Description
If client option
CompressRequestBody
is enabled, request body becomes empty in logger request here, because it already read in gzip compressor. Is it bug or normal behavior?How to reproduce
Logger
from elastictransport, whereRequestBodyEnabled
returnstrue
CompressRequestBody
client.Bulk
with some not empty body and see empty request body in logger from step 1The text was updated successfully, but these errors were encountered: