english
scenario:microservice invoke
problems:A task is split into multiple tasks. Executors is used to execute one of the tasks. The task is an asynchronous task (the task is blocked until condition A occurs). When RestTemplate is used to invoke other microservices in the asynchronous task, a bug with an unknown cause occurs.
chinese
场景:微服务调用
问题:将一个任务分解,使用Executors执行其中的一个任务,这个任务是异步任务(调用之后直接阻塞,直到发生条件A),在异步任务中使用RestTemplate调用其他微服务,出现不明原因的bug。