Setting up JHipster Registry locally
We have created our gateway and two microservice applications. The microservices have two different databases. So far, it has been easy and simple to create those with JHipster.
JHipster provides two different options we have previously seen, Consul and JHipster Registry. For our use case, let's go with JHipster Registry. We have already learned about JHipster Registry in Chapter 8, Introduction to Microservice Server-Side Technologies. Now, we will see how to set up and start it in our local development environment.
Now, these three services basically act as Eureka clients. We need a service registry that registers and deregisters the application as and when the application is started and stopped, respectively; ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access