当前位置:网站首页>Eureka forced offline service
Eureka forced offline service
2022-07-25 08:17:00 【A new dawn on the horizon】
Eureka Forced offline service
Usually use startup Eureka When developing, in order not to let others call our application by mistake , Can be changed application.properties In the document spring.application.name The attribute of can specify our service in eureka When registered on .
But what should we do if other colleagues do not change the name to prevent us from debugging ?
Can open postman, adopt delete Just send a request as follows .
http://106.14.27.199:8080/BOP/bop-69c6cc48cb-l7x2x:bop:8094
The format is eureka Of IP Address + Port number + The service name + The service is in eureka Upper IP Address + Port number .
But there is still a problem , because eureka Is the reason for the heartbeat mechanism , As long as the service you offline is still starting, you will register again , So there is another way for us to accurately request our own services without going offline to other services .
Is in the feignClient Use in url attribute ,url Write the name of the caller in the IP Address OK 了
边栏推荐
- 【黑马程序员】Redis学习笔记004:主从复制+哨兵模式+集群
- 2022-07-19 Daily: too many icml2022 papers to read? "One sentence comments on 1234 paper highlights" helps you quickly lock
- [shader realizes shadow projection effect _shader effect Chapter 8]
- Raspberry pie creation self start service
- In depth analysis of yolov7 network architecture
- Chapter 3 business function development (query clues)
- [dark horse programmer] redis learning notes 003: redis transactions
- CAS operation
- One of C language multithreading programming
- efcore在Saas系统下多租户零脚本分表分库读写分离解决方案
猜你喜欢

Chapter 3 business function development (realize the real-time response of the select all button)

Pricing is arbitrary, products are difficult to distinguish between true and false, and platforms are running away. Will the Tibetan market continue to be popular?
Technical Analysis | Doris connector combined with Flink CDC to achieve accurate access to MySQL database and table exactly once

The database of idea cannot prompt the table name, field name, and schema cannot be loaded

JS pop up picture Lightbox light box plug-in spotlight.js

JS typewriter animation JS special effect plug-in autotyperjs

机器学习入门详解(一):理解监督学习中的最大似然估计

Online shopping E-commerce mall system based on jsp+servlet+mysql+

Svg creative underline style JS special effect

Redis分片集群
随机推荐
Introduction and installation of mongodb
RK3399开发板I2C4挂载EEPROM实例
Message Oriented Middleware
CAS操作
【FFmpeg】mp4转yuv
Some easy-to-use plug-ins and settings installed in vscode
Rk3399 development board i2c4 attaching EEPROM instance
My creation anniversary
Google AI can't understand the comments of netizens, and the wrong meaning will be as high as 30%. Netizens: you don't understand my stem
Idea starts the project slowly
Learn when playing No 2 | learning is too boring? Learning maps lets you learn and play
efcore在Saas系统下多租户零脚本分表分库读写分离解决方案
[shader realizes shadow projection effect _shader effect Chapter 8]
Idea reads configuration files such as validationmessages.properties Chinese garbled
【5G NR】3GPP常用协议整理
Introduction to machine learning (I): understanding maximum likelihood estimation in supervised learning
滴滴 - dispatching
Mysql-5.7 installation
第3章业务功能开发(查询线索)
Numpy learning