eifcode opened a new issue, #10416:
URL: https://github.com/apache/apisix/issues/10416

   ### Description
   
   routes configer plugin kafka-logger :
   `{
       "id": "test-kafka-log",
       "methods": ["POST", "GET"],
       "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\"}"
           }
       }
   }`
   
   add log in util/log-util.log , get_full_log func req_get_body_data() and 
ngx.req.get_body_file() is nill
   
   apisix config is default
   
   Missing configuration ? No other information in the document .
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.6.0
   - Operating system (run `uname -a`): Linux 3.10.0-1160.102.1.el7.x86_64 #1 
SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx 
version: openresty/1.21.4.2
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`): 
{"hostname":"qzsh55","boot_time":1698661888,"etcd_version":"3.5.0","id":"42ffcf2e-1ebc-4f33-8e33-f9abe98c5ee9","version":"3.6.0"}
   - APISIX Dashboard version, if relevant: 
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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]

Reply via email to