windyrjc commented on a change in pull request #5501:
URL: https://github.com/apache/apisix/pull/5501#discussion_r749243422



##########
File path: t/plugin/kafka-logger.t
##########
@@ -1135,7 +1135,7 @@ qr/failed to send data to Kafka topic: .*, brokers: 
\{"127.0.0.127":9092}/
                                 "key" : "key1",
                                 "timeout" : 1,
                                 "include_req_body": true,
-                                "request_body_expr": [
+                                "include_req_body_expr": [
                                     [
                                       "remote_addr",

Review comment:
       I'm using `ctx.var` to eval the expr and `ctx.var` doesn't directly hold 
args. it only has args table. If you want to achieve this, i need to eval the 
expr by `ctx.var.args`




-- 
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-unsubscr...@apisix.apache.org

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


Reply via email to