Home > Back-end >  Micro service remote call Feign
Micro service remote call Feign

Time:09-19

Micro service deployment environment:
Server two 192.168.79.191 192.168.79.192
Eureka registry to deploy two user module certification center module two gateway deployment

Gateway remote call certification center access token interface, normal call request will load distribution on
Operational problems:
Unplug 192.168.79.191 cable USES 192 gateway call access token interface to wait more than 40 seconds to normal visit
FeignCilent can set can set the length of calls, and automatically refresh the list of registered service? Solving!!!!!!

CodePudding user response:

Waiting for long time, because your feign configured timeout after a long time,
Pull the cable service has not removed from the registry, because registration to the registration center heartbeat detection services over time,
Above is two different configuration, configuration according to actual condition,
  • Related