spring-cloud-gateway

Spring Cloud Gateway or Zuul2, Which one is the right replacement for Zuul1?

拟墨画扇 提交于 2020-08-03 03:53:32
问题 Since Spring Cloud team has abandoned development of Zuul module, we are moving to Spring Cloud Gateway or Zuul2 but I believe Zuul2 needs a lot of changes in the architecture and needs big changes in the microservices(correct me if i'm wrong), can anyone gives a recommendation on zuul2 or Spring-Cloud-Gateway, has anyone or you know any big player in tech using Spring-Cloud-Gateway? 回答1: Zuul1 is blocking whereas Zuul2 and spring cloud gateway are non-blocking and this is a major performance

Spring Cloud Gateway or Zuul2, Which one is the right replacement for Zuul1?

纵然是瞬间 提交于 2020-08-03 03:51:06
问题 Since Spring Cloud team has abandoned development of Zuul module, we are moving to Spring Cloud Gateway or Zuul2 but I believe Zuul2 needs a lot of changes in the architecture and needs big changes in the microservices(correct me if i'm wrong), can anyone gives a recommendation on zuul2 or Spring-Cloud-Gateway, has anyone or you know any big player in tech using Spring-Cloud-Gateway? 回答1: Zuul1 is blocking whereas Zuul2 and spring cloud gateway are non-blocking and this is a major performance

Spring cloud gateway - io.netty.util.internal.OutOfDirectMemoryError

隐身守侯 提交于 2020-07-23 07:27:05
问题 I am using below stack Spring Cloud Gateway Hoxton Release, Java 1.8, Linux OS I am seeing below exception which goes away after a restart but again shows up after some time. I have not done any explicit settings for direct memory. Below are the JVM arguments used - -Xms512m -Xmx512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=60 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps

Spring cloud gateway - io.netty.util.internal.OutOfDirectMemoryError

*爱你&永不变心* 提交于 2020-07-23 07:26:05
问题 I am using below stack Spring Cloud Gateway Hoxton Release, Java 1.8, Linux OS I am seeing below exception which goes away after a restart but again shows up after some time. I have not done any explicit settings for direct memory. Below are the JVM arguments used - -Xms512m -Xmx512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=60 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps

Spring cloud gateway - io.netty.util.internal.OutOfDirectMemoryError

喜欢而已 提交于 2020-07-23 07:25:31
问题 I am using below stack Spring Cloud Gateway Hoxton Release, Java 1.8, Linux OS I am seeing below exception which goes away after a restart but again shows up after some time. I have not done any explicit settings for direct memory. Below are the JVM arguments used - -Xms512m -Xmx512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=60 -XX:+UseCMSInitiatingOccupancyOnly -XX:+DisableExplicitGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps

Intermediate authorization_request_not_found error with Spring Cloud Gateway and Keycloak

这一生的挚爱 提交于 2020-06-29 03:33:56
问题 I am working on a microservice architecture developed in Spring boot with an API gateway service using Spring Cloud Gateway. I am using Keycloak as an identity provider. Everything is working fine normally, but I am getting intermediate authorization_request_not_found exception on user login and a whitelable error page occurs. If we try again, it works. Below is the exception I received on Keycloak server: [org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider] (default task-264) Failed to