highfly22 edited a comment on issue #1512:
URL: https://github.com/apache/apisix/issues/1512#issuecomment-900156274


   > BTW @moonming is there an easier way to obtain the response body?
   > https://github.com/openresty/lua-nginx-module#ngxrespget_headers
   > It seems ngx variable only exposes the response headers, but no the 
response body.
   
   The response body can be retrieved by using `body_filter_by_lua`. 
   
   Please refer to 
https://gist.github.com/ejlp12/b3949bb40e748ae8367e17c193fa9602 
   
   Could you add response body to kafka logger plugin? @sshniro 


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