简体   繁体   中英

Can i use jhipster-registry as a discovery server over instances of jhipster v1.9.0 application

I currently am using version 1.9.0 jhipster. Can i have jhipster registry installed and configured to this or am i looking at this the wrong way.

Yes you can but you will have to upgrade spring boot in your old apps to a version supported by spring-cloud-netflix and then use @EnableEurekaClient . During this process you will need to resolve all upgrade issues with dependencies you use (JPA, Hibernate, ...) which could be a positive thing anyway.

Without modifying your app, you could use JHipster registry with Netflix Prana as a sidecar Eureka client.

If you don't want to modify your apps, you could rely on other service discovery solutions:

  • package your apps as docker containers and use Kubernetes
  • or use HashiCorp Consul maybe with DNS forwarding and with consul-template to generate your application.yml files

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM