eifcode commented on issue #10416:
URL: https://github.com/apache/apisix/issues/10416#issuecomment-1786380431
1. install Apisix by RPM
2. config routes
`{ "id": "test-kafka-log", "methods": ["POST"], "uri": "/log/data",
"plugins": { "kafka-logger": { "brokers": [ { "host": "192.168.1.171", "port":
9092 } ], "kafka_topic": "tmp_data_r1p2", "include_req_body": true },
"mocking": { "response_status": 201, "response_example": "{\"success\":\"ok\"}"
} } }`
3. Postman send request

4. Apisix send kafka log not request body

5. Apisix utils add log , get_req_body() is nil

config-default.yml default config `client_max_body_size 0` ,try to modify
value `10m` and restart apisix not effective。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]