{"id":2894,"date":"2023-07-14T13:36:09","date_gmt":"2023-07-14T05:36:09","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=2894"},"modified":"2023-07-14T13:36:09","modified_gmt":"2023-07-14T05:36:09","slug":"feign%e7%ac%ac%e4%b8%80%e6%ac%a1%e8%b0%83%e7%94%a8%e4%b8%ba%e4%bb%80%e4%b9%88%e4%bc%9a%e5%be%88%e6%85%a2%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/spring-boot\/feign%e7%ac%ac%e4%b8%80%e6%ac%a1%e8%b0%83%e7%94%a8%e4%b8%ba%e4%bb%80%e4%b9%88%e4%bc%9a%e5%be%88%e6%85%a2%ef%bc%9f\/","title":{"rendered":"Feign\u7b2c\u4e00\u6b21\u8c03\u7528\u4e3a\u4ec0\u4e48\u4f1a\u5f88\u6162\uff1f"},"content":{"rendered":"<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"font-size: 16px;color: black;padding-right: 10px;padding-left: 10px;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;\" data-mpa-powered-by=\"yiban.io\">\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 22px;color: rgb(0, 150, 136);padding-left: 10px;margin: 1em auto;border-left: 3px solid rgb(0, 150, 136);\"><span style=\"display: none;\"><\/span>\u524d\u8a00<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u9996\u5148\u8981\u4e86\u89e3Feign\u662f\u5982\u4f55\u8fdb\u884c\u8fdc\u7a0b\u8c03\u7528\u7684\uff0c\u8fd9\u91cc\u9762\u5305\u62ec\uff0c\u6ce8\u518c\u4e2d\u5fc3\u3001\u8d1f\u8f7d\u5747\u8861\u3001FeignClient\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u5fae\u670d\u52a1\u901a\u8fc7\u4e0d\u8bba\u662feureka\u3001nacos\u4e5f\u597d\u6ce8\u518c\u5230\u670d\u52a1\u7aef\uff0cFeign\u662f\u9760Ribbon\u505a\u8d1f\u8f7d\u7684\uff0c\u800cRibbon\u9700\u8981\u62ff\u5230\u6ce8\u518c\u4e2d\u5fc3\u7684\u670d\u52a1\u5217\u8868\uff0c\u5c06\u670d\u52a1\u8fdb\u884c\u8d1f\u8f7d\u7f13\u5b58\u5230\u672c\u5730\uff0c\u7136\u540eFeignClient\u5ba2\u6237\u7aef\u5728\u8fdb\u884c\u8c03\u7528\uff0c\u5927\u6982\u5c31\u662f\u8fd9\u4e48\u4e00\u4e2a\u8fc7\u7a0b\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 22px;color: rgb(0, 150, 136);padding-left: 10px;margin: 1em auto;border-left: 3px solid rgb(0, 150, 136);\"><span style=\"display: none;\"><\/span>Ribbon\u662f\u5982\u4f55\u8fdb\u884c\u8d1f\u8f7d\u7684<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u9996\u5148\u6211\u4eec\u8981\u6e05\u695aRibbon\u662f\u5982\u4f55\u8fdb\u884c\u8d1f\u8f7d\u7684\uff0c\u4e5f\u5c31\u662f\u5982\u4f55\u83b7\u53d6nacos\u3001eureka\u7684\u670d\u52a1\u5217\u8868\uff0c\u8fd9\u4e2a\u5f88\u5173\u952e\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.8378378378378378\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201099595deec5.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" png\"=\"\" data-w=\"444\" style=\"display: block;margin-right: auto;margin-left: auto;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.8378378378378378\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201099595deec5.png\" png\"=\"\" data-w=\"444\" style=\"display: block;margin-right: auto;margin-left: auto;\"><\/noscript><\/figure>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 0.6em auto;padding-left: 10px;border-left: 2px solid rgb(0, 150, 136);\"><span style=\"display: none;\"><\/span>RibbonClientConfiguration<span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\"><code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">RibbonClientConfiguration<\/code>\u7c7b\u4e2d\u901a\u8fc7LoadBalancer\uff0c\u6211\u4eec\u77e5\u9053ribbon\u662f\u9760LoadBalancer\u505a\u8d1f\u8f7d\u7684<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u65e0\u975e\u5c31\u662f<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">ILoadBalancer<\/code>\u63a5\u53e3\u7684\u65b9\u6cd5\uff0c\u4f9d\u6b21\u662f\u6dfb\u52a0\u65b0\u7684\u670d\u52a1\u3001\u5728\u8d1f\u8f7d\u5747\u8861\u91cc\u9009\u62e9\u4e00\u4e2a\u670d\u52a1\u3001<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">markServerDown<\/code>\u670d\u52a1\u4e0b\u7ebf\u3001\u83b7\u53d6\u670d\u52a1\u5217\u8868\u3001\u83b7\u53d6\u5b58\u6d3b\u7684\u670d\u52a1\u5668\u3001\u83b7\u53d6\u6240\u6709\u670d\u52a1\u5668\uff08\u5305\u62ec\u5065\u5eb7\u548c\u4e0d\u5065\u5eb7\u7684\uff09<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.8814814814814815\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201096060e77f6.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" png\"=\"\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.8814814814814815\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201096060e77f6.png\" png\"=\"\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\"><\/noscript><\/figure>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 0.6em auto;padding-left: 10px;border-left: 2px solid rgb(0, 150, 136);\"><span style=\"display: none;\"><\/span>ZoneAwareLoadBalancer<span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">loadBalancer\u9ed8\u8ba4\u7684\u662f<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">ZoneAwareLoadBalancer<\/code>\u8d1f\u8f7d\u5747\u8861\u5668\uff0c\u901a\u8fc7\u7ee7\u627f\u7236\u7c7b<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">DynamicServerListLoadBalancer\u7684restOfInit<\/code>\u65b9\u6cd5\uff0c\u91cc\u9762\u6bd4\u8f83\u91cd\u8981\u7684\u4e24\u4e2a\u65b9\u6cd5\uff0c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">enableAndInitLearnNewServersFeature<\/code>\u548c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">updateListOfServers<\/code>\u65b9\u6cd5<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.4111111111111111\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-10\/20230714120110e2e2dec1b.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" png\"=\"\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.4111111111111111\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-10\/20230714120110e2e2dec1b.png\" png\"=\"\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\"><\/noscript><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\"><code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">enableAndInitLearnNewServersFeature<\/code>\u65b9\u6cd5\u91cc\u9762<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/bofA1vl6EUZR9BtL4F0qwl0Gr8iaa9vMbjpyZbzgJ7sCIBEqw1VricwwDFzHbaia2AEibbOkdocZOhnGaJZjAsrTMurSC7hdzicRP\/640?wx_fmt=svg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 100%;margin-bottom: -7px;border-radius: 5px;\"><\/span><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\">LOGGER.info(<span style=\"color: #98c379;line-height: 26px;\">\"Using&nbsp;serverListUpdater&nbsp;{}\"<\/span>,&nbsp;serverListUpdater.getClass().getSimpleName());\nserverListUpdater.start(updateAction);\n<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u8ba9\u6211\u4eec\u770b<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">ServerListUpdater.start<\/code>\u65b9\u6cd5\u7684\u5b9e\u73b0\uff0c\u901a\u8fc7\u81ea\u5b9a\u4e49\u7ebf\u7a0b\u53bb\u62ff\uff0c\u8fd9\u5c31\u662f\u83b7\u53d6\u670d\u52a1\u5217\u8868<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.7574074074074074\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-10\/2023071412011050507a484.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" png\"=\"\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.7574074074074074\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-10\/2023071412011050507a484.png\" png\"=\"\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\"><\/noscript><\/figure>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 22px;color: rgb(0, 150, 136);padding-left: 10px;margin: 1em auto;border-left: 3px solid rgb(0, 150, 136);\"><span style=\"display: none;\"><\/span>Ribbon\u8d1f\u8f7d\u5747\u8861\u7b56\u7565<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u670d\u52a1\u5217\u8868\u83b7\u53d6\u8bf4\u4e86\uff0c\u5f53\u7136\u8d1f\u8f7d\u5747\u8861\u7684\u7b56\u7565\u8fd9\u5757\u4e5f\u6709\u5fc5\u8981\u8bb2\u4e00\u4e0b\uff0c\u4e3b\u8981\u6709\u4e03\u79cd\uff1b<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">RoundRobinRule<\/code>\uff08\u8f6e\u8be2\u7b56\u7565\uff0c\u6309\u7167\u670d\u52a1\u987a\u5e8f\u4f9d\u6b21\u5faa\u73af\u8c03\u7528\uff09<br \/>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">WeightedResponseTimeRule<\/code>\uff08\u6743\u91cd\u6bd4\u7b56\u7565\uff0c\u4f18\u5148\u9009\u62e9\u6743\u91cd\u6bd4\u9ad8\u7684\u670d\u52a1\uff0c\u4e5f\u5c31\u662f\u670d\u52a1\u54cd\u5e94\u65f6\u95f4\u6bd4\u8f83\u77ed\u7684\uff0c\u54cd\u5e94\u65f6\u95f4\u8d8a\u957f\u6743\u91cd\u6bd4\u8d8a\u4f4e\uff09<br \/>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">RandomRule<\/code>\uff08\u968f\u673a\u7b56\u7565\uff0c\u670d\u52a1\u63d0\u4f9b\u8005\u5217\u8868\u968f\u673a\u9009\u62e9\u4e00\u4e2a\u670d\u52a1\uff09<br \/>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">BestAvailableRule<\/code>\uff08\u6700\u5c0f\u8fde\u63a5\u6570\u7b56\u7565\uff0c\u83b7\u53d6\u670d\u52a1\u5217\u8868\u4e2d\u8fde\u63a5\u6570\u6700\u5c0f\u7684\u670d\u52a1\u5b9e\u4f8b\uff09<br \/>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">RetryRule<\/code>\uff08\u91cd\u8bd5\u7b56\u7565\uff0c\u91cd\u8bd5\u83b7\u53d6\u5df2\u7ecf\u5931\u6548\u7684\u670d\u52a1\uff0c\u6307\u5b9a\u65f6\u95f4\u6ca1\u6709\u83b7\u53d6\u5230\u8fd4\u56deNULL\uff09<br \/>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">AvailabilityFilteringRule<\/code>\uff08\u53ef\u7528\u6027\u654f\u611f\u7b56\u7565\uff0c\u8fc7\u6ee4\u975e\u5065\u5eb7\u670d\u52a1\u5b9e\u4f8b\uff0c\u9009\u62e9lianji\uff09<br \/>\n<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">ZoneAvoidanceRule<\/code>\uff08\u533a\u57df\u654f\u611f\u7b56\u7565\uff09<br \/>\n<\/section>\n<\/li>\n<\/ul>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 22px;color: rgb(0, 150, 136);padding-left: 10px;margin: 1em auto;border-left: 3px solid rgb(0, 150, 136);\"><span style=\"display: none;\"><\/span>Ribbon-eager-load\uff08\u9965\u997f\u52a0\u8f7d\uff09\u6a21\u5f0f<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">Ribbon\u5bf9\u4e8e\u8d1f\u8f7dClient\u662f\u5728\u670d\u52a1\u542f\u52a8\u540e\uff0c\u53d1\u751f\u8c03\u7528\u7684\u65f6\u5019\u624d\u4f1a\u53bb\u521b\u5efaClient\uff0c\u6240\u4ee5\u5728\u7b2c\u4e00\u6b21\u53d1\u751fhttp\u8bf7\u6c42\u8c03\u7528\u7684\u65f6\u5019\uff0c\u4e0d\u5149\u8981\u7b97\u4e0ahttp\u7684\u8bf7\u6c42\u65f6\u95f4\uff0c\u8fd8\u8981\u7b97\u4e0aClient\u7684\u521b\u5efa\u65f6\u95f4\uff0c\u6240\u4ee5\u7b2c\u4e00\u6b21\u8c03\u7528\u7684\u65f6\u5019\u624d\u4f1a\u5f88\u6162\uff0c\u5199\u4e2a\u65b9\u6cd5\u8c03\u7528\u4e0b;<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">System \u670d\u52a1\u8c03\u7528System2\u670d\u52a1<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/bofA1vl6EUZR9BtL4F0qwl0Gr8iaa9vMbjpyZbzgJ7sCIBEqw1VricwwDFzHbaia2AEibbOkdocZOhnGaJZjAsrTMurSC7hdzicRP\/640?wx_fmt=svg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 100%;margin-bottom: -7px;border-radius: 5px;\"><\/span><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"color: #61aeee;line-height: 26px;\">@GetMapping<\/span>(<span style=\"color: #98c379;line-height: 26px;\">\"\/requestSystem2Api\"<\/span>)\n<span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">public<\/span>&nbsp;String&nbsp;<span style=\"color: #61aeee;line-height: 26px;\">requestSystem2Api<\/span><span style=\"line-height: 26px;\">()<\/span><\/span>{\n&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">long<\/span>&nbsp;startTime&nbsp;=&nbsp;System.currentTimeMillis();\n&nbsp;&nbsp;&nbsp;&nbsp;R&lt;String&gt;&nbsp;stringR&nbsp;=&nbsp;iTestServiceClient.testRequestMethod();\n&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">if<\/span>&nbsp;(<span style=\"color: #c678dd;line-height: 26px;\">null<\/span>&nbsp;!=stringR){\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log.info(<span style=\"color: #98c379;line-height: 26px;\">\"\u63a5\u53e3\u8fd4\u56de\uff1a\"<\/span>+stringR.getMsg());\n&nbsp;&nbsp;&nbsp;&nbsp;}\n&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">long<\/span>&nbsp;needTime&nbsp;=&nbsp;System.currentTimeMillis()&nbsp;-&nbsp;startTime;\n&nbsp;&nbsp;&nbsp;&nbsp;log.info(<span style=\"color: #98c379;line-height: 26px;\">\"\u63a5\u53e3\u8c03\u7528\u9700\u8981\u7684\u65f6\u95f4\uff1a\"<\/span>+needTime);\n&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>&nbsp;<span style=\"color: #98c379;line-height: 26px;\">\"\"<\/span>;\n}\n<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u4ece\u8c03\u7528\u65e5\u5fd7\u53ef\u4ee5\u770b\u51fa\uff0c\u7b2c\u4e00\u6b21\u8c03\u7528System2\u670d\u52a1\uff0cRibbon\u7684<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">DynamicServerListLoadBalancer<\/code>\u4f1a\u5c06feign\u5ba2\u6237\u7aef\u8fdb\u884c\u8d1f\u8f7d\uff0c\u7136\u540e\u8fdb\u884c\u8c03\u7528\uff0c\u7b2c\u4e00\u6b21\u8c03\u7528\u7684\u65f6\u95f4\u5c31\u662f\u4f1a\u957f\u4e00\u4e9b\uff0c\u7b2c\u4e8c\u6b21\u8c03\u7528\u76f4\u63a5\u8fdb\u884c\u8bf7\u6c42\u53ef\u4ee5\u770b\u5230\u8c03\u7528\u65f6\u95f4\u5f88\u5feb\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.15092592592592594\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-11\/202307141201119191369a9.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" png\"=\"\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.15092592592592594\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-11\/202307141201119191369a9.png\" png\"=\"\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\"><\/noscript><\/figure>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 0.6em auto;padding-left: 10px;border-left: 2px solid rgb(0, 150, 136);\"><span style=\"display: none;\"><\/span>\u5f00\u542fRibbon\u9965\u997f\u52a0\u8f7d<span style=\"display: none;\"><\/span><\/h3>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"display: block;background: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_svg\/bofA1vl6EUZR9BtL4F0qwl0Gr8iaa9vMbjpyZbzgJ7sCIBEqw1VricwwDFzHbaia2AEibbOkdocZOhnGaJZjAsrTMurSC7hdzicRP\/640?wx_fmt=svg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 100%;margin-bottom: -7px;border-radius: 5px;\"><\/span><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\">&nbsp;&nbsp;ribbon:\n&nbsp;&nbsp;&nbsp;&nbsp;nacos:\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enabled:&nbsp;<span style=\"color: #56b6c2;line-height: 26px;\">true<\/span>&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u5f00\u542fnaocos\u8f6e\u8be2<\/span>\n&nbsp;&nbsp;&nbsp;&nbsp;eager-load:\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enabled:&nbsp;<span style=\"color: #56b6c2;line-height: 26px;\">true<\/span>&nbsp;&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u5f00\u542fRibbon\u7684\u9965\u997f\u52a0\u8f7d\u6a21\u5f0f(\u9632\u6b62\u7b2c\u4e00\u6b21\u8bf7\u6c42\u8d85\u65f6\u7684\u95ee\u9898)<\/span>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clients:&nbsp;Lxlxxx-system2&nbsp;<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u6307\u5b9a\u9700\u8981\u5f00\u542f\u7684\u670d\u52a1(\u9700\u8981\u5f00\u542fRibbon\u7684\u9965\u997f\u52a0\u8f7d\u6a21\u5f0f)<\/span>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ReadTimeout:&nbsp;10000\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ConnectTimeout:&nbsp;10000\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MaxAutoRetries:&nbsp;0\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MaxAutoRetriesNextServer:&nbsp;1\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OkToRetryOnAllOperations:&nbsp;<span style=\"color: #56b6c2;line-height: 26px;\">false<\/span>\n<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u5728\u9879\u76ee\u542f\u52a8\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u4ece\u65e5\u5fd7\u770b\u5230\uff0c\u5df2\u7ecf\u628a<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);\">Lxlxxx-system2<\/code>\u670d\u52a1\u8fdb\u884c\u52a0\u8f7d\uff0c\u4ece\u800c\u907f\u514d\u4e86\u7b2c\u4e00\u6b21\u8bf7\u6c42\u8d85\u65f6\u7684\u60c5\u51b5\uff1b<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.11666666666666667\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-11\/2023071412011181813b915.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" png\"=\"\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.11666666666666667\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-11\/2023071412011181813b915.png\" png\"=\"\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\"><\/noscript><\/figure>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 22px;color: rgb(0, 150, 136);padding-left: 10px;margin: 1em auto;border-left: 3px solid rgb(0, 150, 136);\"><span style=\"display: none;\"><\/span>\u603b\u7ed3<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u5176\u5b9e\u8fd9\u79cd\u9965\u997f\u52a0\u8f7d\u6a21\u5f0f\uff0c\u7c7b\u4f3c\u4e8e\u201c\u5ba2\u6237\u7aef\u8d1f\u8f7d\u9884\u70ed\u201d\u7684\u4e00\u4e2a\u64cd\u4f5c\uff0c\u9879\u76ee\u542f\u52a8\u7684\u65f6\u5019\u8fdb\u884c\u52a0\u8f7d\uff0c\u9632\u6b62\u670d\u52a1\u4e4b\u95f4\u8c03\u7528\u53ef\u4ee5\u56e0\u4e3a\u6570\u636e\u91cf\u3001\u4e1a\u52a1\u903b\u8f91\u5904\u7406\u590d\u6742\u6027\u5bfc\u81f4\u63a5\u53e3\u8d85\u65f6\uff0c\u5982\u679c\u4f60\u7684\u670d\u52a1\u4e4b\u95f4\u8c03\u7528\u4e1a\u52a1\u5904\u7406\u6bd4\u8f83\u590d\u6742\u3001\u4e14\u6162\uff0c\u4e0d\u59a8\u53ef\u4ee5\u8bd5\u8bd5\u8fd9\u79cd\u89e3\u51b3\u65b9\u5f0f\u3002<\/p>\n<\/section>\n<blockquote class=\"js_blockquote_wrap\" data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"37\" data-source-title=\"\" style=\"outline: 0px;color: var(--weui-FG-1);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: normal;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);\">\n<section class=\"js_blockquote_digest\" style=\"outline: 0px;\">\n<section style=\"outline: 0px;\">\n   <span style=\"outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;color: rgb(136, 136, 136);cursor: pointer;font-size: 11px;\">\u6765\u6e90\uff1ajuejin.cn\/post\/7249624466150408250<\/span><br \/>\n<\/section>\n<\/section>\n<\/blockquote>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"margin-bottom: 0px;padding-right: 10px;padding-left: 10px;outline: 0px;color: black;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 16px;letter-spacing: 0px;text-align: left;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.6;word-break: break-word;visibility: visible;\">\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <strong style=\"outline: 0px;color: rgb(255, 0, 0);font-size: 20px;font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, Arial, sans-serif;letter-spacing: 0.544px;text-align: center;widows: 1;caret-color: rgb(60, 60, 60);\">\u540e\u7aef\u4e13\u5c5e\u6280\u672f\u7fa4<\/strong><\/figure>\n<\/section>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 16px;letter-spacing: normal;white-space: normal;caret-color: rgb(60, 60, 60);text-align: center;widows: 1;background-color: rgb(255, 255, 255);line-height: 26px;visibility: visible;\">\u6784\u5efa\u9ad8\u8d28\u91cf\u7684\u6280\u672f\u4ea4\u6d41\u793e\u7fa4\uff0c\u6b22\u8fce\u4ece\u4e8b\u7f16\u7a0b\u5f00\u53d1\u3001\u6280\u672f\u62db\u8058HR\u8fdb\u7fa4\uff0c\u4e5f\u6b22\u8fce\u5927\u5bb6\u5206\u4eab\u81ea\u5df1\u516c\u53f8\u7684\u5185\u63a8\u4fe1\u606f\uff0c\u76f8\u4e92\u5e2e\u52a9\uff0c\u4e00\u8d77\u8fdb\u6b65\uff01<\/p>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 20px;margin-bottom: 20px;padding: 10px 10px 10px 1em;outline: 0px;border-left-width: 2px;border-left-color: rgb(136, 136, 136);color: rgb(119, 119, 119);font-size: 0.9em;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: normal;text-align: left;white-space: normal;caret-color: rgb(60, 60, 60);widows: 1;border-top: none;border-bottom: none;overflow: auto;background: rgba(0, 0, 0, 0.05);border-right: 2px solid rgb(136, 136, 136);visibility: visible;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;outline: 0px;font-size: 16px;text-align: justify;color: black;line-height: 26px;visibility: visible;\">\u6587\u660e\u53d1\u8a00\uff0c\u4ee5<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);visibility: visible;\">\u4ea4\u6d41\u6280\u672f<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);visibility: visible;\">\u804c\u4f4d\u5185\u63a8<\/code>\u3001<code style=\"margin-right: 2px;margin-left: 2px;padding: 2px 4px;outline: 0px;font-size: 14px;border-radius: 4px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 150, 136);visibility: visible;\">\u884c\u4e1a\u63a2\u8ba8<\/code>\u4e3a\u4e3b<\/p>\n<\/blockquote>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 0px;padding-top: 8px;padding-bottom: 8px;outline: 0px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 16px;letter-spacing: normal;white-space: normal;caret-color: rgb(60, 60, 60);text-align: center;widows: 1;background-color: rgb(255, 255, 255);line-height: 26px;visibility: visible;\">\u5e7f\u544a\u4eba\u58eb\u52ff\u5165\uff0c\u5207\u52ff\u8f7b\u4fe1\u79c1\u804a\uff0c\u9632\u6b62\u88ab\u9a97<\/p>\n<p style=\"margin-bottom: 0px;outline: 0px;color: rgb(0, 0, 0);font-size: 16px;white-space: normal;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-galleryid=\"\" data-ratio=\"1.0212201591511936\" data-s=\"300,640\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-12\/202307141201122929e9378.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-type=\"png\" data-w=\"377\" style=\"outline: 0px;visibility: visible !important;width: 204px !important;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"1.0212201591511936\" data-s=\"300,640\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-12\/202307141201122929e9378.png\" data-type=\"png\" data-w=\"377\" style=\"outline: 0px;visibility: visible !important;width: 204px !important;\"><\/noscript><\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;outline: 0px;color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 16px;letter-spacing: normal;text-align: left;white-space: normal;caret-color: rgb(60, 60, 60);widows: 1;background-color: rgb(255, 255, 255);display: flex;flex-direction: column;justify-content: center;align-items: center;visibility: visible;\"><figcaption style=\"margin-top: 5px;outline: 0px;text-align: center;color: rgb(136, 136, 136);font-size: 14px;visibility: visible;\">\n  \u52a0\u6211\u597d\u53cb\uff0c\u62c9\u4f60\u8fdb\u7fa4<br \/>\n<\/figcaption><\/figure>\n<p style=\"display: none;\">\n <mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7\uff1ahttps:\/\/mp.weixin.qq.com\/s\/U8EVQkp3C8zcBJ_YDGfdaw<\/p>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u9996\u5148\u8981\u4e86\u89e3Feign\u662f\u5982\u4f55\u8fdb\u884c\u8fdc\u7a0b\u8c03\u7528\u7684\uff0c\u8fd9\u91cc\u9762\u5305\u62ec\uff0c\u6ce8\u518c\u4e2d\u5fc3\u3001\u8d1f\u8f7d\u5747\u8861\u3001FeignClient\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u5fae\u670d\u52a1\u901a\u8fc7\u4e0d\u8bba\u662f &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-2894","post","type-post","status-publish","format-standard","hentry","category-spring-boot"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201099595deec5.png","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201099595deec5.png","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201099595deec5.png","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201099595deec5.png","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201099595deec5.png","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201099595deec5.png","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201099595deec5.png","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201099595deec5.png","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201099595deec5.png","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201099595deec5.png","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201096060e77f6.png","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-09\/202307141201096060e77f6.png","id":"image3"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-10\/20230714120110e2e2dec1b.png","id":"image4"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-10\/20230714120110e2e2dec1b.png","id":"image5"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-10\/2023071412011050507a484.png","id":"image6"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-10\/2023071412011050507a484.png","id":"image7"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-11\/202307141201119191369a9.png","id":"image8"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-11\/202307141201119191369a9.png","id":"image9"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-11\/2023071412011181813b915.png","id":"image10"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-11\/2023071412011181813b915.png","id":"image11"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-12\/202307141201122929e9378.png","id":"image12"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-14\/12-01-12\/202307141201122929e9378.png","id":"image13"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"Spring Boot","post_date":"2023-07-14","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":340,"next_post_id":2898,"next_post_title":"SpringBoot \u96c6\u6210 Kafka \u914d\u7f6e","previous_post_id":2892,"previous_post_title":"Spring Boot \u6709\u54ea\u4e9b\u7279\u70b9\uff1f","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/2894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=2894"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/2894\/revisions"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=2894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=2894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=2894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}