This is the netflix-eureka server which is used for service discovery
between audit-server
In a real-world production infrastructure, it is likely to deploy multiple instance of a same application to serve the in-coming traffic. In our case, it is probable that we may want to scale the number of gRPC server instances AKA logger-apps to server our incoming requests.
In such a situation, we need to dynamically lookup where our logger-app instances are deployed in order to call RPC methods. Eureka server act as a middle man who keep track of URI information for logger-app instances.
logger-app eureka registration done here.
- clone the repository to your machine [
git clone https://github.com/JudeNiroshan/logger-eureka-server.git
] - move to
logger-eureka-server
[cd logger-eureka-server
] - execute
./mvnw install
- execute
./mvnw spring-boot:run