当前位置:网站首页>调用Feign接口时指定ip
调用Feign接口时指定ip
2022-06-24 06:47:00 【绅士jiejie】
正常使用Feign都会设置服务名,然后会根据一定的负载均衡策略调用服务,如轮询,权重等,但是怎么在调用Feign接口时,固定访问一个地址,通过配置url参数即可,如下:
@FeignClient(name ="a", url = "http://x.x.x.x:8080")
边栏推荐
- Q & A on cloud development cloudbase hot issues of "Huage youyue phase I"
- Reconfiguration of nebula integration testing framework based on BDD theory (Part 2)
- Ke Yi fallible point
- Event related | reveal how Ti-One's support ability for large-scale events is developed
- The seminar on "global IPv6 development and outlook 2020-2021" was held in Beijing
- Black box and white box models for interpretable AI
- Tencent cloud security and privacy computing has passed the evaluation of the ICT Institute and obtained national recognition
- 【008】表格数据逐行筛选,跳出for循环及跳过本次循环思路_#VBA
- What challenges does the video streaming media platform face in transmitting HD video?
- Hongmeng OS development III
猜你喜欢
![LeetCode 515 在每个数行中找最大值[BFS 二叉树] HERODING的LeetCode之路](/img/16/011ba3aef1315c39526daac7e3ec89.png)
LeetCode 515 在每个数行中找最大值[BFS 二叉树] HERODING的LeetCode之路

爬虫基础B1——Scrapy(B站学习笔记)

本地备份和还原 SQL Server 数据库

Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its

图形技术之坐标转换

Blue Bridge Cup seven segment code (dfs/ shape pressing + parallel search)
![Selector (>, ~, +, [])](/img/7e/2becfcf7a7b2e743772deee5916caf.png)
Selector (>, ~, +, [])

RDD的执行原理

First acquaintance with JUC - day01

The two most frequently asked locks in the interview
随机推荐
保留一位小数和保留两位小数
《canvas》之第4章 线条操作
《canvas》之第1章 canvas概述
MySQL case: analysis of full-text indexing
云开发谁是卧底小程序源码
10 common malware detection and analysis platforms
Hongmeng OS development III
chrono 使用备注
自动化测试的生命周期是什么?
【NILM】非入侵式负荷分解模块nilmtk安装教程
Global and Chinese market of basketball uniforms 2022-2028: Research Report on technology, participants, trends, market size and share
New ways to play web security [6] preventing repeated use of graphic verification codes
UE常用控制臺命令
What challenges does the video streaming media platform face in transmitting HD video?
【Django中运行scrapy框架,并将数据存入数据库】
The two most frequently asked locks in the interview
交友相亲类软件是如何割你韭菜的
Tencent cloud security and privacy computing has passed the evaluation of the ICT Institute and obtained national recognition
How to realize multi protocol video capture and output in video surveillance system?
How VPN works