feign
feign copied to clipboard
How to use feign call the same interface of all instances?
There are 3 instances of the same project started on eureka.
I want to call all the interface of 3 instances by one feign interface.
@FeignClient(value = "project-test")
public interface TestFeign{
@PostMapping("/test")
void test();
}
But now,feign just call one of them.
How can I call 3 projects at the same time?
i don't understand your question.. i understood like below sentence
you called feign-client interface 3 times at sametime, but feign-client worked only one time.
Questions like this are more appropriate for Stack Overflow. Issues in this repository are for bug fixes and feature requests for the project.