记录一次测试环境的问题:
将springcloudgateway的过滤器删掉了一个,然后报错了,springcloudgateway的配置文件中有这么个过滤器找不到了
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:333) java.lang.IllegalArgumentException: Unable to find GatewayFilterFactory with name ReadBodyData
spring:
cloud:
gateway:
routes:
- id: micro-opapi-server
uri: lb://micro-opapi-server
predicates:
- Path=//api/**
filters:
- StripPrefix=1
- OpApiAuth
- ReadBodyData