You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "zll600 (via GitHub)" <gi...@apache.org> on 2024/03/17 06:15:12 UTC

[I] help request: the origin `meta_format` of kafka-logger can not support `include_resp_body` [apisix]

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

   ### Description
   
   The origin `meta_format` of kafka-logger just collect original HTTP request which do not support `include_resp_body`. I'd like to know if this is a known limitation or a bug.
   
   from the doc of kafka-logger, it only says ` Setting to default collects the information in JSON format and origin collects the information with the original HTTP request. `
   https://apisix.apache.org/docs/apisix/plugins/kafka-logger/#meta_format-example
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - 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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: the origin `meta_format` of kafka-logger can not support `include_resp_body` [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #11054:
URL: https://github.com/apache/apisix/issues/11054#issuecomment-2027942270

   I will close this issue for now, if we get more requests/attention for this request we may re open it later. 👍🏼 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: the origin `meta_format` of kafka-logger can not support `include_resp_body` [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #11054:
URL: https://github.com/apache/apisix/issues/11054#issuecomment-2027942203

   > Though the response can be added to the response with meta_format origin as well as a feature but I am not sure if that is a required feature.
   
   If the user really needs the request body, they can use `meta_format = json`. 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: the origin `meta_format` of kafka-logger can not support `include_resp_body` [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek closed issue #11054: help request: the origin `meta_format` of kafka-logger can not support `include_resp_body`
URL: https://github.com/apache/apisix/issues/11054


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: the origin `meta_format` of kafka-logger can not support `include_resp_body` [apisix]

Posted by "Revolyssup (via GitHub)" <gi...@apache.org>.
Revolyssup commented on issue #11054:
URL: https://github.com/apache/apisix/issues/11054#issuecomment-2003145493

   @zll600 I dont think its a bug. origin here is intended to only have "original request" whereas json contains the full_log with everything. include_resp_body populates ctx.resp_body which is intentionally being used in full_log which is inside json. Though the response can be added to the response with `meta_format` `origin` as well as a feature but I am not sure if that is a required feature. 
   // @monkeyDluffy6017 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org