当前位置:网站首页>Micro service architecture cognition and service governance Eureka
Micro service architecture cognition and service governance Eureka
2022-07-28 06:03:00 【Performer】
1: build Eureka
(1):server End

spring:
application:
name: eureka-server
server:
port: 20000
eureka:
client:
fetch-registry: false # Indicates whether to register yourself to Eureka Server , The default is true
register-with-eureka: false # Indicates whether to register yourself to Eureka Server, The default is true, Because the current application is Eureka-Server So set it as false
instance:
hostname: localhostpackage com.example.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
@SpringBootApplication
@EnableEurekaServer
public class EuerkaServerApplication {
public static v边栏推荐
猜你喜欢
随机推荐
用于排序的sort方法
MySQL multi table query
连续登陆问题
Notice of attack: [bean Bingbing] send, sell, cash, draw, prize, etc
Flume installation and use
排序与分页,多表查询课后练习
Tiktok - VIDEO steps
(PHP graduation project) obtained based on PHP student homework submission management system
CVE_2017_11882漏洞复现(Metasploit开启NT远程桌面添加账户)
Linux(centOs7) 下安装redis
数字藏品以虚强实,赋能实体经济发展
数字藏品的生意没那么好做
【七】redis缓存与数据库数据一致性
初识Flask
trino函数随记
Invalid packaging for parent POM x, must be “pom“ but is “jar“ @
raise RuntimeError(‘DataLoader worker (pid(s) {}) exited unexpectedly‘.format(pids_str))RuntimeErro
ModuleNotFoundError: No module named ‘pip‘
Chapter IX sub query (key)
数字藏品“大乱斗”,千亿市场变局将至?









