🔥Microservices Communication | How USER SERVICE Communicate to RATING SERVICE | Microservices Series

  Рет қаралды 66,459

Learn Code With Durgesh

Learn Code With Durgesh

Күн бұрын

Пікірлер: 46
@rahuljain-zw8vx
@rahuljain-zw8vx Жыл бұрын
Most important interview ques for 5-6 yrs dev. Was not getting good content anywhere and I knew from u will get it 😉 Bro also make video to communicate using broker
@raghutechnicalno.1187
@raghutechnicalno.1187 Жыл бұрын
Very knowledge full video and love you sir ❤️
@_syed.saud_
@_syed.saud_ Жыл бұрын
Sir mujhe interview dena hy recently to aap bta skte hy ki ye wali series kb end hogi aur kitne videos aayenge iske issi ka project mention krunga interview me ?
@manojbhale6081
@manojbhale6081 Жыл бұрын
Please secure all microservice and also apply security in api gateway
@vishalgaikwad873
@vishalgaikwad873 Жыл бұрын
Thanks for the session Durgesh, Really it's useful Because it contains integration part & also you used logger in User service... 🥰🥰😌😌
@shashanksharma7747
@shashanksharma7747 Ай бұрын
Very Good Video about microservices communication
@bishamkhatri6956
@bishamkhatri6956 Жыл бұрын
Buhat wait karwaya sir
@rahulgorad2903
@rahulgorad2903 Жыл бұрын
Thank bhai
@ndndjdwn12
@ndndjdwn12 4 ай бұрын
sir please make video to connect firebase with spring boot and perform tasks like send notification and send otp using firebase
@sourabhVlogs
@sourabhVlogs Жыл бұрын
Durgesh bhai please make in this microserive series AWS configguration,DOCKER and kubernates and KAFKA or RABBITMQ series in this microservice
@govindnagargoje6526
@govindnagargoje6526 Жыл бұрын
Thank you so much Durgesh!!!!!
@foddiebyage9696
@foddiebyage9696 Жыл бұрын
Bro thoda fast na vast rkhna course seekhne ko bhutt kuch hota apke lectures m
@psinha5110
@psinha5110 Жыл бұрын
Sir when we get Single user then we get ratings But How to get ratings when we fetch all users?
@ambarishkapil8004
@ambarishkapil8004 Жыл бұрын
Durgesh bhaiya, RestTemplate antiquated ho chuka h, woh Spring 4 mein use krte the, Spring 5 mein WebClient use krte hain..aur aab toh Spring 6 bhi aa gya hain, waha pe RestClient use krte hain.
@LearnCodeWithDurgesh
@LearnCodeWithDurgesh Жыл бұрын
i have created new video on RESTCLIENT
@ayushchandel3404
@ayushchandel3404 11 ай бұрын
Instead of creating bean and doing autowiring, can we create the RestTemplate object directly?
@Kamlesh-Bobde
@Kamlesh-Bobde 10 ай бұрын
Excellent, Thanks
@jiaurrahman1136
@jiaurrahman1136 Жыл бұрын
Awesome content brother ❤️👍🙏
@saurabhchavan116
@saurabhchavan116 Жыл бұрын
Thank you so much. I am learning a lot from you.
@rishiraj2548
@rishiraj2548 Жыл бұрын
Great
@nesel3820
@nesel3820 Жыл бұрын
When did you dinfine rating object in user entity ? Do we need to create rating and hotel pojo classes ?
@mtex448
@mtex448 Жыл бұрын
check User implementation vedio. No need to implement Hotel entity
@gurnoorsingh2954
@gurnoorsingh2954 Жыл бұрын
According to me it shouldn't be in user service
@FarazulHaque-u5n
@FarazulHaque-u5n 8 ай бұрын
Getting an error -- java: 'No enum constant javax.lang.model.element.Modifier.SEALED' in IntelliJ IDEA, java 21 in ServiceRegistry when running RatingService
@saiRakshya
@saiRakshya 11 ай бұрын
I am calling from microservice 1 api in microservice 2 I am getting response but in microservice I have handled exception in microservice 1 but while called in microservice 2 exception handling not working, why??
@sujitkate1781
@sujitkate1781 Жыл бұрын
Nice SirG
@ferio2828
@ferio2828 11 ай бұрын
JmsTemplate tutorial pls...
@Achutanandapanigrahi
@Achutanandapanigrahi Жыл бұрын
Hi Durgesh Please give me link to download the Source Codes
@kushagraofficial5347
@kushagraofficial5347 Жыл бұрын
if we delete a user from the User entity then how data will be corrupted in hotel service.. how we deal with it?
@gurnoorsingh2954
@gurnoorsingh2954 Жыл бұрын
Why have we declared rating entity in the user service. Is this really how microservice works?
@sumanthkarmarkar1760
@sumanthkarmarkar1760 Жыл бұрын
Rating class which is declared in userService is not exaclty an Entity class, but its a DTO class, which is just used to define the structure of actual Rating entity, In microservices, its not recommended to directly refer to entities from another service because to maintain loose coupling, hence replica of that entity class(DTO class) is created.
@anshlyk
@anshlyk Жыл бұрын
Does anyone have code for the getAllUser() part?..I dont know how to link List to ArrayList and then return it in List format..?
@ahsanalimughal3701
@ahsanalimughal3701 Жыл бұрын
public List getAllUsers() { List users=this.userRepository.findAll(); users.forEach(user -> { ArrayList ratings=restTemplate.getForObject("localhost:8083/ratings/users/"+user.getUserId(), ArrayList.class); user.setRatings(ratings); }); return users; }
@ayushmer407
@ayushmer407 6 ай бұрын
@@ahsanalimughal3701 thanks
@pranjalsharma5611
@pranjalsharma5611 Жыл бұрын
when we are getting the object using restTemplate then how are the values getting mapped to the Rating class which we have made in userservice even when i removed the member variables from there it was still fetching the rating how?
@pankajseervi3550
@pankajseervi3550 Жыл бұрын
If you see the object created type is ArrayList< Rating> ratingsofUser which is same declared in entity of UserService. So the value which comes automatically it will get mapped.
@pankajseervi3550
@pankajseervi3550 Жыл бұрын
inshort check user entity ther...u hav declared that rating
@gurnoorsingh2954
@gurnoorsingh2954 Жыл бұрын
​@@pankajseervi3550 should we declare the rating entity in the user service? Shouldn't it be fetched from Rating Service
@ayushs_2k4
@ayushs_2k4 Ай бұрын
5:58 sir, how to secure this /users/{userId} endpoint such that only our micro-services can call it, it can-not be called directly, sometimes we have to get some sensitive data from like authentication microservice in other microservices, but we also do not want to expose that specific endpoint to the rest of the world, it should only be accessible to some of our micro-services. I am stuck at this problem on my personal project. please tell a solution.
@vikashmishra4739
@vikashmishra4739 Жыл бұрын
Bhai GitHub ki link send kar do please
@jayvajani2873
@jayvajani2873 Жыл бұрын
ERROR: Field logger in com.lcwd.user.service.Services.UserServiceImpl required a bean of type 'org.slf4j.Logger' that could not be found. Please help
@jayvajani2873
@jayvajani2873 Жыл бұрын
Small Typing mistake
@azaangulzar4279
@azaangulzar4279 Жыл бұрын
@@jayvajani2873 @Service
@jayvajani2873
@jayvajani2873 Жыл бұрын
Thanks @ Azzan Gulzar ...solved same day..
🔥 Calling Two Microservices Together | Microservices Tutorial Series
15:16
Learn Code With Durgesh
Рет қаралды 56 М.
Create A Python API in 12 Minutes
12:05
Tech With Tim
Рет қаралды 682 М.
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 207 МЛН
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 15 МЛН
How To Call a REST API In Java - Simple Tutorial
29:14
Coding with John
Рет қаралды 282 М.
Using Feign Client | Microservices tutorial Series
12:28
Learn Code With Durgesh
Рет қаралды 62 М.
How to make Microservices Communicate?
10:24
YourTechBud Codes
Рет қаралды 41 М.
Session Vs JWT: The Differences You May Not Know!
7:00
ByteByteGo
Рет қаралды 249 М.
🔥 Implementing Service Discovery Client | Microservices Tutorial in Hindi
13:12
Learn Code With Durgesh
Рет қаралды 55 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 89 М.
Microservices using SpringBoot 3.0 | Full Example [NEW]
1:25:38
Daily Code Buffer
Рет қаралды 195 М.
Human vs Jet Engine
00:19
MrBeast
Рет қаралды 207 МЛН