Closed haim-ari closed 3 years ago
I know the reason for this.
I know the reason for this.
@fooinha OK, waiting for your update on this Thanks
@haim-ari , this may be fixed with the new release #44 .
This release has some considerable changes, check release notes releases/tag/v0.0.8
@fooinha I've switched to use another project for now... https://github.com/segmentio/kafka-go
Thanks for the update
@fooinha There is still an issue i'm having as a result of a large payload size.
While increasing
http_json_log_req_body_limit
to512k
(and1M
) solved the issue for <512k
characters payload, Now I'm trying to send a payload which is ~700k (690814)What happens here is different:
I get
HTTP Response Code
of204
(expected) or502
with Postman tests.But in both cases the event is not sent to kafka (instead of just being trimmed), and I see this in logs:
Ingress log
Nginx log
nginx debug log atached geo.log
This is the
nginx.conf
I use:/usr/local/nginx/client_body_temp # ls -la
I cleared the file
/tmp/full.log
then I fired one request, and I can see the file size is 10KI took the payload, and
base64
decode it, and I can see that it is trimmed...Can you advise on this please ?
Originally posted by @haim-ari in https://github.com/fooinha/nginx-json-log/issues/42#issuecomment-884219507