beginnerWJC commented on issue #191:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/191#issuecomment-1227412642

   这个我已经测试过了,取消ext-plugin-post-resp插件使用是正常的。
   路由配置如下,取消了ext-plugin-post-resp插件的使用:
   ```
   {
     "uri": "/robot-monitor/v1/*",
     "name": "test204",
     "methods": [
       "GET",
       "POST",
       "PUT",
       "DELETE"
     ],
     "plugins": {
       "ext-plugin-post-resp": {
         "conf": [
           {
             "name": "TestPostFilter",
             "value": "{}"
           }
         ],
         "disable": true
       }
     },
     "upstream": {
       "nodes": [
         {
           "host": "192.168.2.120",
           "port": 8900,
           "weight": 1
         }
       ],
       "timeout": {
         "connect": 6,
         "send": 6,
         "read": 6
       },
       "type": "roundrobin",
       "scheme": "http",
       "pass_host": "pass",
       "keepalive_pool": {
         "idle_timeout": 60,
         "requests": 1000,
         "size": 320
       }
     },
     "status": 1
   }
   ```
   APISIX日志:
   ```
   2022/08/25 15:17:51 [warn] 50#50: *5238792 [lua] plugin.lua:384: 
trace_plugins_info_for_debug(): Apisix-Plugins: prometheus while sending to 
client, client: 172.17.67.0, server: _, request: "GET 
/robot-monitor/v1/robotMonitor/test204 HTTP/1.1", upstream: 
"http://192.168.2.120:8900/robot-monitor/v1/robotMonitor/test204";, host: 
"192.168.40.174:30880"
   2022/08/25 15:17:51 [warn] 50#50: *5238792 [lua] plugin.lua:384: 
trace_plugins_info_for_debug(): Apisix-Plugins: prometheus while sending to 
client, client: 172.17.67.0, server: _, request: "GET 
/robot-monitor/v1/robotMonitor/test204 HTTP/1.1", upstream: 
"http://192.168.2.120:8900/robot-monitor/v1/robotMonitor/test204";, host: 
"192.168.40.174:30880"
   2022/08/25 15:17:51 [warn] 50#50: *5238792 [lua] plugin.lua:384: 
trace_plugins_info_for_debug(): Apisix-Plugins: prometheus while logging 
request, client: 172.17.67.0, server: _, request: "GET 
/robot-monitor/v1/robotMonitor/test204 HTTP/1.1", upstream: 
"http://192.168.2.120:8900/robot-monitor/v1/robotMonitor/test204";, host: 
"192.168.40.174:30880"
   ```
   代理的上游日志:
   ```
   2022-08-25 23:17:51.374  INFO 38280 --- [  XNIO-1 task-1] 
io.undertow.servlet                      : Initializing Spring 
DispatcherServlet 'dispatcherServlet'
   2022-08-25 23:17:51.374  INFO 38280 --- [  XNIO-1 task-1] 
o.s.web.servlet.DispatcherServlet        : Initializing Servlet 
'dispatcherServlet'
   2022-08-25 23:17:51.396  INFO 38280 --- [  XNIO-1 task-1] 
o.s.web.servlet.DispatcherServlet        : Completed initialization in 22 ms
   2022-08-25 23:17:51.460  INFO 38280 --- [  XNIO-1 task-1] 
c.w.controller.RobotMonitorController    : test204
   2022-08-25 23:17:51.460  INFO 38280 --- [  XNIO-1 task-1] 
com.wellcloud.common.aspect.LogAspect    : request: test204, cost: 13
   ```


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