Hello everyone,
I was trying to migrate the JHipster Registry with JHipster v7 and I can't migrate the registry on the reactive stack, the webflux module of Spring.
The JHipster Registry is composed of a Eureka Server, that provides as a discovery server for application. It is also an administration server, with dashboards to monitor and manage applications. The Registry is an application type gateway because it manages applications using Netflix Zuul.
JHipster v7 uses Spring Cloud Gateway instead of Netflix Zuul as gateway component. Spring Cloud Gateway is based on the reactive stack and we must migrate the registry on the Webflux module. However, Eureka Server requires a Servlet container :( Both Eureka server and Spring Cloud Gateway can't work together ! Spring Cloud no longer supports Netflix Zuul.
I suggest removing the administrative server in the Registry. This functionality is proposed by the JHipster Control Center. The JHipster Registry will keep two main purposes:
- It is a Eureka server, that provides as a discovery server for applications.
- It is a Spring Cloud Config server, that provide runtime configuration to all applications.
What do you think ?
Regards,
Julien.