@FeignClient(name = "service-provider")
public interface EchoService { @RequestMapping(value = "/echo/{str}", method = RequestMethod.GET) String echo(@PathVariable("str") String str);
}
What Is Sentinel
Sentinel is an open source circuit breaker. It can be part of Spring Cloud Alibaba or as an individual package.
What Is Feign
Feign is a Java to HTTP client binder. It’s aiming to simplify the REST API process.