The top-level service uses fegin to invoke the interface downloaded by the underlying service (which is quite time-consuming), resulting in a Hystrix timeout circuit breaker

problem description

the top-level service uses fegin to invoke the interface downloaded by the underlying service (which is quite time-consuming), resulting in a Hystrix timeout circuit breaker.
netflix version number is 1.4.4

related codes

Top-level service interface

@RestController
public class ResAirportPickController extends BaseController {
/*
 * excel
 * @param condition 
 * @return success/false
 */
    @GetMapping("/resAirportPick/download")
    public Result download(@RequestParam Map<String, Object> condition) {
    return this.resAirportPickClient.download(condition);
    }
}
< hr >

feign interface

@FeignClient(name = ServiceNameConstant.RESOURCE_SERVICE, fallback =   ResAirportPickClientFallBack.class)
public interface ResAirportPickClient {

    @GetMapping("/resAirportPick/download")
    Result download(@RequestParam Map<String, Object> condition);
}

basic service interface

@RequestMapping("/resAirportPick")
public class HolResAirportPickController extends BaseController {

    @GetMapping("/download")
public Result download(@RequestParam Map<String, Object> condition, HttpServletResponse response) throws Exception {
      // 
    }
}

console


this is the picture captured last time. It can"t be run without the company now.

what result do you expect? What is the error message actually seen?

do you annotate the interface to generate a specific circuit breaker strategy to cancel the circuit breaker, or prolong the time to trigger the circuit breaker

Apr.29,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3de74-2c3e6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3de74-2c3e6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?