Set up eureka,gateway,admin,redis,docker series

Eureka Yes. Netflix Developed, a REST service based, service registration and discovery component

It mainly includes two components: Eureka Server and Eureka Client

  • Eureka Client: a Java client used to simplify the interaction with Eureka Server (usually the client and server in microservices)
  • Eureka Server: provides service registration and discovery capabilities (usually the registry in microservices)

Set up the registry server (create an empty module)

pox dependence




Create a startup class

public class EurekaApplication {
    public static void main(String[] args) {, args);

configuration file


#Since the app is a registry, setting it to false indicates that it does not register itself with the registry

The simple eureka is completed. You can see the registration center by directly starting and inputting localhost:8761

Tags: Java Spring REST log4j

Posted on Thu, 26 Mar 2020 10:32:37 -0400 by wizzkid