A simple sample of service registry via Spring Cloud Netflix Eureka
-
Install Java 19 from https://www.oracle.com/java/technologies/downloads/,
-
Install Maven 3 from https://maven.apache.org/download.cgi
-
Clone this repository:
$ git clone https://github.com/eyakauleva/service-registry.git
- Navigate to the project directory:
$ cd service-registry
- Start the application:
$ mvn spring-boot:run
- Open in browser
http://localhost:8761/
A service registry is a database populated with information on how to dispatch requests to microservice instances.