Working with Feign | Microservice
ฝัง
- เผยแพร่เมื่อ 5 ก.ย. 2024
- Check out our courses:
Enterprise Java Spring Microservices: go.telusko.com...
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : go.telusko.com...
Coupon: TELUSKO20 (20% Discount)
For More Queries WhatsApp or Call on : +919008963671
Udemy Courses:
Spring: go.telusko.com...
Java:- go.telusko.com...
Java Spring:- go.telusko.com...
Java For Programmers:- go.telusko.com...
Python : go.telusko.com...
Git : go.telusko.com...
Docker : go.telusko.com...
website : courses.telusk...
Instagram : / navinreddyofficial
Linkedin : / navinreddy20
TELUSKO Android App : bit.ly/TeluskoApp
Discord : / discord
More Learning :
Java :- bit.ly/3x6rr0N
Python :- bit.ly/3GRc7JX
Django :- bit.ly/3MmoJK6
JavaScript :- bit.ly/3tiAlHo
Node JS :- bit.ly/3GT4liq
Rest Api :-bit.ly/3MjhZwt
Servlet :- bit.ly/3Q7eA7k
Spring Framework :- bit.ly/3xi7buh
Design Patterns in Java :- bit.ly/3MocXiq
Docker :- bit.ly/3xjWzLA
Blockchain Tutorial :- bit.ly/3NSbOkc
Corda Tutorial:- bit.ly/3thbUKa
Hyperledger Fabric :- bit.ly/38RZCRB
NoSQL Tutorial :- bit.ly/3aJpRuc
Mysql Tutorial :- bit.ly/3thpr4L
Data Structures using Java :- bit.ly/3MuJa7S
Git Tutorial :- bit.ly/3NXyCPu
Donation:
PayPal Id : navinreddy20
www.instamojo....
Would be nice to have an example for OAuth2Token to feign client.
Great and simple explanation.
How we can use autowire for quizinterface because it is an interface , In java we can't create the object for an interface right?
Yes, in Java it is not possible to create an instance of an Interface, but Spring Boot uses Dependency Injection technique to create and manage Beans using Spring Context. When using Autowired (or Constructor Injection), Spring automatically injects those Beans. and FeignClient is also one of them, similar to @Component, @Service,... Normally Spring Context will try to find classes that implement interfaces if those Annotations are marked on the interface. It's possible that FeignClient will create its implementation class(s) at runtime.
How we can use autowire for quizInterface because it is an interface, In java we can't create the object for an interface right
how does eureka client knows where is the eureka server with which it needs to register?
If one service requires the use of a type defined in another service
How to do this ?
Great
Sir please,reply when I call other api usin feign client 302 error after handle error ,data show in exception column
Thank you 😊
Remaining videos ?
How feign client gets the ip address and port number? how will feign communicate with eureka?
It is magic
Hi, I faced one error. For the Feign Client interface, the bean is not created. I used SB 3.2.3 version. For trail, I change the interface to class with commented @FeignClient line then bean is created. Can you help me
You can create it's bean in your main class so it will created at the time of the startup of the application and you won't face that error.
@@manassharma7698 please can you write it down. Getting the same error
Sir, i am getting error 302 and data come in exception
8:12
Good day greetings