Question: what is the difference between resttemplate and feign client?
Answer: Feign as a declarative REST client. In the Booking microservice, there is a synchronous call to Fare. RestTemplate is used for making the synchronous call. ... When using Feign, we write declarative REST service interfaces at the client, and use those interfaces to program the client.