asgreflexx / casp-registry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eureka Server

It’s the naming server, or called service registry. It’s duty to give names to each microservice. Why?

  1. No need to hardcode the IP addresses of microservices.
  2. What if services use dynamic IP addresses; when autoscaling.

So, every service registers itself with Eureka, and pings Eureka server to notify that it’s alive.

If Eureka server didn’t receive any notification from a service. This service is unregistered from the Eureka server automatically.

*PORT: 8888 - This can be used to see which services are online

About


Languages

Language:Java 71.1%Language:Dockerfile 28.9%