在 webflux + druid 中使用druid的监控页面 使用tomcat作为web容器(druid版本1.2.8) 1.1 添加依赖 1.2 将filter赋值到tomcat的context 中 使用netty作为web容器. //TODO 2.1 添加依赖 避免报错 2.2 添加路由 使用tomcat作为web容器(druid版本1.2.8) 如果能选择tomcat作为容器的话, 就非常好解决了. 只要配置一下filter就行 注意: druid版本必须 大于1.2.5 1.1 添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-webflux</artifactId> <exclusions> <!-- Exclude the reactor-netty dependency --> <exclusion> <groupId>or.... 在webflux+druid中 使用druid的监控页面 webflux
I use gateway The version is 2020.0.1, It's used in communication websocket. It was used well , It turned out that something unusual happened one day :Max frame length of 65536 has been exceeded. If you read the wrong information in the newspaper, you know it's because websocket The frame of is more than the default 65536 Limit , This limitation can be found in this class in the source code reactor.netty.http.websocket.WebsocketSpec You can see it in the picture . I didn't want to solve it mysel.... Solve the problem of Max frame length of 65536 has been exceeded in websocket of spring cloud gateway webflux