Simple discovery client in Spring Cloud Gateway MVC
Availability of virtual threads made me want to switch from reactive Spring Cloud Gateway to it’s MVC version. Migration of most of the code was easy (changing some classes and method names, moving routes configuration from spring.cloud.gateway.routes
to spring.cloud.gateway.mvc.routes
), but one thing that doesn’t seem to work is simple discovery client for load balancing for routes.