Awesome course, I already bought it and I highly recommend it! I would appreciate a section on how to secure (authentication/authorization) all these microservices, how to prevent unauthorized access in some of microservices and how to implement a Bearer token in microservices environment.
@CaptainStache
2 жыл бұрын
Spring Security does this job that you want my friend. You can create a JWT token with spring security and pass it as a header into the request. Some services don't need bearer token (like user registration.) The most common primary service that uses bearer token is login because the token is gonna be created after the user registration!
@wateva9000
2 жыл бұрын
Amigos has a great tutorial on spring security as well.
@kirillbelko6422
Жыл бұрын
Thanks for such a useful and clear lesson! I didn't imagine that spring cloud allows us to organise microservises communication so easily
@seopyo-dj7ks
Жыл бұрын
thank you. I didn't understand it, so I looked for it for a while, but after watching the video, I understood it right away. Your lectures are very nice. you are my benefactor
@zakhelendaba6970
2 жыл бұрын
Wow... I knew nothing about service discovery but after your course... all i can say is WOW!! Thanks bro
@dhananjaychumbalkar6052
2 жыл бұрын
Thank you so much for creating such amazing courses. I have been following up all your courses one by one and learning a lot of new things from each and every video.
@vireaksstorm5994
Жыл бұрын
I also really appreciate for your help created this course. I hope your gods will bring you with luck and healthy. Thank you so much.
@Chauhannitin
2 жыл бұрын
When you got error when using service name, there was only single instance. In order to clarify, you had created one more instance. Why the exception when only one instance of service is there.
@MZ-dg3er
Жыл бұрын
Salam alikom from Morocco thank you very much. Allah yjazik bekhayr
@briankipkurui6581
2 жыл бұрын
Useful content always , thanks alot amigos we grow alot from your content
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and assistance
@maximilian_gl
2 жыл бұрын
Great video, as always :) Would love to see video about securing all those microservices!
@fredericochopin
2 жыл бұрын
Another great addition to the Microservices series! Keep up, Nelson!
@cagatayyilmaz7096
2 жыл бұрын
You are a really good teacher. I appreciate your help. I hope you will continue these videos and light up developers like me.
@davebudah
2 жыл бұрын
Would love to rock in an AMIGOS CODE t-shirt. Thanks for the awesome tutorial.
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and assistance
@leonardoamorimramos5656
2 жыл бұрын
Great video Nelson. I'm following all your videos and learning so many thing. Congrats for your amazing work. Muito obrigado amigo!
@javohiruralov1812
2 жыл бұрын
Thank you Nelson so much for the course. Keep it up. Your content is so good that everything is explained very vell. 😊
@ingabirejeanherve2733
Жыл бұрын
Let me thank you for this awesome course boss... Stay blessed man
@infiniteloop71
2 жыл бұрын
Thanks for this tutorial. Literally saving my life with this one!
@timorthymasanyinga9350
2 жыл бұрын
am always following your videos hey they are really amazing.
@dases4335
2 жыл бұрын
Salem, baraka allah fik, Great content, I have learned a lot from this serie Please keep going and thanks again.
@erikmargaryan7119
Жыл бұрын
Hey, I've a question. For first time fraud had just one instance, why we got server error?
@gustavochavarroortiz2443
Жыл бұрын
So So So good tutorial, man you are awesome
@seiko777
Жыл бұрын
Great content and teacher! One question: on Postgres pgAdmin4 i see that sequences are all made with INCREMENT 50 instead of default INCREMENT 1. Is that a way to set this parameter on app?
@ax8635
2 жыл бұрын
As-salamu alaykum from Greece!
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and assistance
@zhongzhicheah960
2 жыл бұрын
In a cloud environment (Azure), would you recommend deploying our services on top of Azure Kubernetes Service or Azure Spring Cloud?? Given that they both provide similar functions like service discovery, centralized config?
@sheharajayashan7498
2 жыл бұрын
Thank you very much for all your amazing videos.
@mateusfernando5847
2 жыл бұрын
Very well explained, thanks!
@ДмитрийРейн-ж1г
Жыл бұрын
Very clear! Thank you, keep going)
@mostafaaguerram
2 жыл бұрын
Thanks to you I switched from Nest js after 2 years of using it, to spring boot, and no regrets I'm enjoying Spring boot. Great content, great videos.
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and assistance
@pablocaiza.
2 жыл бұрын
awesome , the best way to start the week
@kenjihikmatullah1060
6 ай бұрын
Syukran, Nelson
@halcyon-s
Жыл бұрын
Thanks for tutorial!
@ApolloSaifullin
Жыл бұрын
Thanks a lot! You're a Great Lecturer!
@lil_paha
2 жыл бұрын
Thank you for this video Please keep going with this series :)
@abdelrhmanadel2832
2 жыл бұрын
thank you very much you are amazing man
@GiuseppeScrugli
Жыл бұрын
I faced a problem: anytime a fraud instance is added/removed from eureka-server the customer instance must be rebooted for loadbalancer to be updated.
@moisesnunez6915
2 жыл бұрын
Looked up how Spotify went down last month , it had to do something with service discovery, then this video came up on my feed. What a Coincidence
@frapder
2 жыл бұрын
Thanks for the amazing content! Just a question: what’s the purpose of service discovery? What is the common use cases in which we could consider to use it? Thanks again!
@CaptainStache
2 жыл бұрын
Service Discovery is actually the mechanism that allows you to register every single (micro)service in it. It is based on the election leader and service registry algorithm. The purpose of service discovery is to check the available instances that have been created and registered to the service registry. We care about that because microservices is a distributed system. Every single instance of microservice is actually a worker into the distributed system and every worker has a purpose to fulfill. If an instance has bad health and it cannot handle the requests, the service discovery here kicks in and it is responsible to create a copy/duplicate of the current microservice (worker) before it is going to terminate because of its bad health. When the new instance of microservice is going to be available then it going to be registered into the service registry and it goes on.
@frapder
2 жыл бұрын
@@CaptainStache Thanks for the detailed explanation!
@wateva9000
2 жыл бұрын
@@frapder This mechanism also allows horizontal scaling - when you get more traffic going another instance could be booted up instantly without the interuption of the actual application. There's basically some application state observers in place - which define how many instances should be up and running minimum. In Kubernetes it's called the watch loop. When you're dealing with monolithic application you would need to provide a single more powerful machine (vertical). This solution can only work for certain amount of workload. And also has a single point of failure.
@teferiheye9834
2 жыл бұрын
Amazing course, great!!Thank you.
@adancastroharos9408
2 жыл бұрын
Excellent work, thank you very much
@gabrielpadilh4
2 жыл бұрын
Amazing course, great! Thank you for this content!
@ahmadiyad2860
27 күн бұрын
شكرا الك ❤
@saeidkazemi8480
2 жыл бұрын
Hi , thanks for the awesome explanation, the question is are there another options instead rest template to work and using load balancing to communicate?
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and assistance
@CaptainStache
2 жыл бұрын
load balancing is the mechanism that gives us the ability to manage the network traffic/requests and spread them to every available microservices that is registered into the service discovery. API gateway (Zuul) can do this work or Ribbon Load Balancer in this case. Load Balancer has many algorithms that distributes the traffic in correct sequence to each microservice but the most common is round Robbin. Now for the communication between microservices there are some categories: External communication using clients such a rest Template or Feign Client to CONSUME an external microservice. Internal Communication using Message Brokers (Rabbitmq, redis, Kafka) or with the use of gRPC. P.S I edited my comment
@wateva9000
2 жыл бұрын
asynchronous communication would also work - An application publishes an event within Rabbit MQ. And the other instances are constantly monitoring the event table for published events to be dealt with.. This however might not be sufficent for all the use-cases - for instance GET requests need instant feedback.
@bigggjimmm
2 жыл бұрын
Be Blessed Man!
@Mac1355
2 жыл бұрын
tks for new amazing video and your share
@manho9682
Жыл бұрын
thanks you, please explain to me, why status in application session on eureka dashbord of me is host.docker.internal instead of ip address like you?
@MultiSaitox
2 жыл бұрын
Asalam alaykoum Amigos, so much great content, thank you ! Is it possible to make a video about making software engineering youtube video tutorials, your pipeline, your setups... ? It would help newcomers to also begin making high quality videos as your's. Baraka allah fik
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and assistance
@yunmyeonghun
2 жыл бұрын
What amazing course, Thanks~
@vidhangoyal373
2 жыл бұрын
Hii , I am a novice in spring boot applications and I love your videos . For this video I understood almost everything except one part as to how did the RestTemplate class got updated when we put @LoadBalanced annotation in the CustomerConfig class as we just made a normal method there that just returns a new RestTemplate Object so what's that got to do with the whole RestTemplate class .. I needed help with this question..!!!??
@TheEntium
2 жыл бұрын
Because the method which we annotate as a @Loadbalanced is also a bean (because of @bean annotation) now spring will handle all the object creation when this method gets called anywhere which returns a new RestTemplate .. and this RestTemplate is injected during our rest call. Once we add @Loadbalanced annotation to the RestTemplate bean load balancing mechanism will apply on it.. So now wherever this bean (RestTemplate) called loadbalancing will automatically happen
@vidhangoyal373
2 жыл бұрын
@@TheEntium thanks for the explanation, I got it now 👍
@napeHEK1
2 жыл бұрын
You have the best content. Please explain two things. 1)I didn't understand why it doesn't send requests without @LoadBalanced (in the case of one service in Eureka). Does @EnableEurekaClient not allow you to do it? 2) Unexpectedly, @LoadBalanced is put on @Bean RestTemplate. How does he know that RestTemplate is able to send requests?
@ChandlerBing11
2 жыл бұрын
A truly amigo. Thank you so much, Mama Samba
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and assistance on investment
@MadinabonuO
2 жыл бұрын
Assalamu alaikum bro. Thank you for an awesome content.😊
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and assistance
@sujithaveeramani4497
2 жыл бұрын
Hello Nelson, I wanted to purchase this full course. Any promotion or coupon code?
@yangsopiana5654
2 жыл бұрын
Amazing content.. thank you for this video
@Mr.indian.justice.555
2 жыл бұрын
Please create one video on spring boot with Jooq and postgresql. Thanks!
@nesreenmohd665
2 жыл бұрын
Asalam alaykoum, thank you for your great videos. I am wondering if you can tell us the options that microservices can talk to each other beside Rest template and which one is popular and beter?
@lukmanmudi5742
2 жыл бұрын
Let me share this (in case you don't get a better reply). I know 3 ways you can make service to service communication. 1. Using Rest template (obviously) 2. Using HttpClient along with (HttpRequest and HttpResponse) added in Java 9. 3. Using MicroProfile Rest Client Rest template is popular in Spring framework (IMO) HttpClient API is mostly common in desktop applications (IMO) MicroProfile Rest Client is popular in the Java EE (now Jakarta EE) ecosystem(IMO)
@nesreenmohd665
2 жыл бұрын
@@lukmanmudi5742 Thank you for your reply. So if I have a web based application, which on is the best to study it and practice it?
@CaptainStache
2 жыл бұрын
1. Rest Template (Synchronous) ot Feign Client (Asynchronous) clients are for communication with EXTERNAL microservices in real case scenario. 2. The most common way to communicate with internal microservices is using a message broker (rabbitmq, redis, Kafka) Kafka is the most powerful one. You need pub/sub pattern to achieve that etc 3. Now one more advanced method to communicate with each microservice is gRPC.
@WolfBoy2700
2 жыл бұрын
That was ace, thank you.
@p.ternali
2 жыл бұрын
perfect explanations!
@okvak3274
2 жыл бұрын
Thank you for your help 😊
@anastasianaumko923
Жыл бұрын
Thank you!
@ogunodabas9332
2 жыл бұрын
Can you explain the comparison of eureka vs zookeeper vs consul with simple examples?
@rick-kv1gl
2 жыл бұрын
man, ur so pro.
@OmerFarukAY-ij2xg
3 ай бұрын
thank you very much
@darpanshirsat5122
2 жыл бұрын
Thanks Amigo!
@alirezaasadi8656
Ай бұрын
so great
@bfcodinghub
2 жыл бұрын
thanx Nelson for the content
@wwhill8033
2 жыл бұрын
👏👏👏well done Amigo
@zhongzhicheah960
2 жыл бұрын
Does it works with WebClient given that RestTemplate is depreciated?
@sumedhtayade821
2 жыл бұрын
May Allah Taala bless you sir
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and assistance on investment
@airmode5545
2 жыл бұрын
great course thanks :D
@tahagharaibeh9367
2 жыл бұрын
شكرا يا حب ♥
@khalilbouali3480
11 ай бұрын
awesome !
@biglaray
9 ай бұрын
Thanks!!
@chandragie
2 жыл бұрын
God this is GEM!!!
@gustavogoncalves2101
2 жыл бұрын
The BEST!!!
@whatsappadmin2206
2 жыл бұрын
👆 ❤️ For consultation and assistance
@saeidkazemi8480
2 жыл бұрын
Can We use feign client? To do IPC and does it have load balancing?
@amigoscode
2 жыл бұрын
In the full course I show how to use feign
@carlosh9732
2 жыл бұрын
Can anyone help me ? with some doubts I have, but first great video then this project is based on multi module tier and docker compose how do you handle partial update(just one microservice but without taking down the other services) via CI/CD (in my case I use github actions) the idea is mmm like one repository multiple services but when need it just update the one updated....
@kamerkamerlok2105
2 жыл бұрын
Oki Doki😀
@hojiakbarmadaminov2462
Жыл бұрын
Thanks bro
@toannguyenthe5422
2 жыл бұрын
Hi Amigos. Your skill is so excited but can you sell this course in the udemy ?
@atalibcodinglevel7518
2 жыл бұрын
Manshallah Manshallah ❣
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and assistance
@atalibcodinglevel7518
2 жыл бұрын
The WhatsApp is not showing
@AshishMishra-kw2zm
2 жыл бұрын
Amazing Content ...
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and assistance on investment
@youssoufcameroon2565
2 жыл бұрын
Thanks a lot brother
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and assistance
@omarakki705
2 жыл бұрын
Thanks brother
@whatsappadmin2206
2 жыл бұрын
👆 For mentorship and assistance on investment
@dr.usayma1870
2 жыл бұрын
THANKS VERY MACH
@hananasyrawi5206
2 жыл бұрын
Walaikum Salam
@username1780
2 жыл бұрын
useful content
@diggydavro1588
2 жыл бұрын
🤩🤩🤩🤩
@whatsappadmin2206
2 жыл бұрын
👆 For consultation and mentoring
@Станислав-ц1р7у
6 ай бұрын
good good good
@derrickagyemang1259
2 жыл бұрын
Hello Amigos, great content. I tried to replicate a service like you did and change the URL to the registered name of the service like you did at time 25:30 going, but haven't been successful, checked the git repo but the implementation wasn't present. Thanks again and please assist with what i pointed out
@konradmaocha6397
2 жыл бұрын
Yoyo, have u tried to add @LoadBalanced annotation above RestTemplate bean creation method? Check this out: github.com/amigoscode/microservices/commit/f380637d80b3ff5990d3465a50da4ab35e0684d7#diff-dc459c235a779d88b39fb0e7b5b9ab694c0b25450fb0ca2be2c0eb748f866a26
Пікірлер: 125