Long live koushik. I have learned a lot. You are the only teacher who teaches with why and how, the reasoning makes its easy to understand and remember. Thank you.
Guess below message summarize my daily routine. Reach office..get a coffee and listen to Kaushik's video..and learn/ revise something new.....just joined the channel...many thanks to you. I have been listening to your videos way back 8-9 years... Keep sharing knowledge...
Thanks for the awesome content.. You know how to keep your viewers excited about your content at all times... I am always indebted to everyone who helps me learn something and so will like to express my biggest gratitude to you.. Just a curiosity.. like we have centralised config in microservice architecture.. do we have any way to to also achieve centralised logging ?
Hi Kaushik, Can you make some series on Spring Cloud Gateway Filter Implementation, Design of such Microservices, Flow, Pros and Cons and why we need this specific Technology.
@javabrains Did this config update makes app restart/restage? If no then can’t be it an issue for below case. Let say I updated config param which gets used upon bean creation when app is started or deployed. So if upon config update by spring cloud config app is not restarted then it will use the previous value only. isn’t it?
what if we put the configuration related to that microservices inside each microservices e.g. policy microservices need policy db interest microservice need interest db , so need to externalize ?
can you please make a video playlist on fully working web application using microservices with UI, database and also providing security with authentication and authorization?
Kaushik, beautiful video. I am new to all of these. Anyhow, the question I have is, can micro-services interact with other micro-services? Can a micro-service talk to the 'config' microservice to get property values, connection strings, etc? Wouldn't that be deviating from the very concept of micro-services? Should the call to the 'config' microservice be handled at the API gateway level? Can you throw some light on this, please? Many thanks.
Passwords and client secrets are a strict no no on git. Rather you can creat your own credential service which takes host, Mac(retrieved automatically) and the key which is decoded on the client side to get the credentials
Agree with the other responses. No secure configuration info should be saved in plain-text. You need to encrypt it. I’ll try to cover it ina subsequent video
Hey Koushik First of all, Thanks for all the amazing videos you have posted. But i have a question, more towards the micro-service architecture. You mentioned that having a centralized config service is a common pattern. But i am having hard time understanding isn't that an anti-pattern to how these micro-services are suppose to work? The dependency on this service? What if this config service goes down? Shouldn't these services be self contained ?
$$$Thanks, Koushik$$$.for delivering a superb lecture on Spring Cloud Config. I have one doubt like shall I use any DB like Redis to store all configuration related k-v pairs?
Two projects A and B both use separate profiles values . Now project B includes project A as maven dependency. What will happen? How to switch on /off the profile value of dependcy project? Clearly Dspring.active.profile Vm arg will be common for both.
What matters is the main application you run. You will have a fat jar that is one Spring Boot application. You choose profiles for that. The dependencies of the app share the same profile as the main app.
Hi Kaushik. I did not see "Goal 2 : Environment specific " video in your video series. Can anyone please share the video link. I want to learn this point.
I have one query if config server is watching multiple git repos and we want to share common properties (not by using override) across all repos. Is it possible?
I downvoted. I don't think this is a good overview, but maybe I'm wrong. 1) He discussed having multiple different services hitting configserver to get a single value, such as a DB parameter. You can have shared configs with Spring Cloud Config Server, but you have to have a setup to allow that. That's more of an advanced topic. It wasn't even supported in early versions of ConfigServer, so is not a core goal. Typically, each service reads its own configs, and doesn't share its configs with other services. 2) He also said a service asks ConfigServer for a specific value. I don't believe that is possible. In any case, it would be very unusual. Instead, spring will call it at the outset when building the spring environment and bind to your local properties if you are set up that way. A spring app would not call configserver directly. In any case, you would never call Config Server for one specific property. That is not supported.
The problem is connecting your spring cloud server to a git repository. There are tow mian ways one that works using html git repo address with password and username. which is now being depricated, and the other way where you use ssh to create a private and public key. This is not being depricated and is very hard to get working, especially if you are using bitbuckey and of you want to use individual branches, then you are totally doomed.
Git repo is fun for lower environment development and CI/CD. Do you really want to introduce another attack vector by hooking up your production deployment configuration values to a Git repo? Heck, some idiot might flip the flags accidentally for production where millions of users are doing business transactions. What's the harm?
It's becoming a daily routine now.
Reach Office.
Get a coffee.
Learn something new with Java Brains.
This is how you kick start your day.
Same for me. Thanks to Java Brains. Thanks to Koushik.
Are you kidding me? How easily can he explain any topic, thanks for all your efforts and awesome content!
I'm really learning fast from the morning videos everyday .. detailed information .. and my journey to a full stack ☺️ Thanks Koushik
Long live koushik. I have learned a lot. You are the only teacher who teaches with why and how, the reasoning makes its easy to understand and remember. Thank you.
From sénegal. It's pleasure to learn every morning with you. Thanks koushi
Guess below message summarize my daily routine.
Reach office..get a coffee and listen to Kaushik's video..and learn/ revise something new.....just joined the channel...many thanks to you. I have been listening to your videos way back 8-9 years... Keep sharing knowledge...
Thanks, The videos are so addictive that I think I can not stop my self from binch watching the whole tutorials.
Koushik, I am doing all night sitter with your micro-service playlists. I am loving it. I have realised I am using wrong practises in my prod code.
My day starts with your video instead of cofee. Thanks for valuable information.happy learning.❤️
Super like Kaushik. I am a fan follower of your videos and treat you as my guru. 😃
Man .. You make things seem pretty simple! .. Great job.
Very best teaching and execution
Best way to start the day :)
This is the best video so far in this level 3. Thanks Koushik :)
Thanks koushik, im waiting for the next video
Thanks for the awesome content..
You know how to keep your viewers excited about your content at all times...
I am always indebted to everyone who helps me learn something and so will like to express my biggest gratitude to you..
Just a curiosity.. like we have centralised config in microservice architecture.. do we have any way to to also achieve centralised logging ?
You are Awesome Bro You are A Hero You ROCK THE WORLD BRO YOU ARE SUPER AND THE BEST
A very clear explanation man, thank you very much!
Nicely Explained..
Another truly superb tutorial :) great content with perfect delivery. Thanks so much for these tutorials!
Very nice! Please add a video on feign client as well
Thanks Kaushik....
Waited For this video !
Even me
Thanks so much for this tutorial.
Love your vids always... question: Are you using OBS to make them?
wawww.... extremely fantastic
Helpful video
Can you do a series on spring reactive stack ??
note - 7:16
Hi Kaushik, Can you make some series on Spring Cloud Gateway Filter Implementation, Design of such Microservices, Flow, Pros and Cons and why we need this specific Technology.
@javabrains
Did this config update makes app restart/restage?
If no then can’t be it an issue for below case.
Let say I updated config param which gets used upon bean creation when app is started or deployed. So if upon config update by spring cloud config app is not restarted then it will use the previous value only. isn’t it?
what if we put the configuration related to that microservices inside each microservices e.g. policy microservices need policy db interest microservice need interest db , so need to externalize ?
can you please make a video playlist on fully working web application using microservices with UI, database and also providing security with authentication and authorization?
super nice explanation .this what i was looking for.can we also change hibernate mappings from this?
Kaushik, beautiful video. I am new to all of these. Anyhow, the question I have is, can micro-services interact with other micro-services? Can a micro-service talk to the 'config' microservice to get property values, connection strings, etc? Wouldn't that be deviating from the very concept of micro-services? Should the call to the 'config' microservice be handled at the API gateway level? Can you throw some light on this, please? Many thanks.
Please guide us how to get a spring boot job .... great work btw 🤗
Learn. Code. Get good. Attend interviews. I am not aware of any shortcuts to this unfortunately
Hi Koushik. Is config server good for storing secrets like db passwords? PS: thanks a lot for the video and whole series.
Passwords and client secrets are a strict no no on git. Rather you can creat your own credential service which takes host, Mac(retrieved automatically) and the key which is decoded on the client side to get the credentials
You can use spring cloud config with database or vault for secure credentials storage.
Agree with the other responses. No secure configuration info should be saved in plain-text. You need to encrypt it. I’ll try to cover it ina subsequent video
Can you please make a video on spring cloud streams and functions using kafka and Reactor
Hey Koushik
First of all, Thanks for all the amazing videos you have posted.
But i have a question, more towards the micro-service architecture. You mentioned that having a centralized config service is a common pattern.
But i am having hard time understanding isn't that an anti-pattern to how these micro-services are suppose to work? The dependency on this service? What if this config service goes down? Shouldn't these services be self contained ?
Do we have any other option other than cloud config server to externalize properties. Koushik please help us if you know anything.
Just wondering if you can demo spring cloud bus and demo real time management of property changes
Yep, not spring cloud bus, but in this series, I plan to teach you real-time updates to config without restarting your microservices.
❤❤❤
$$$Thanks, Koushik$$$.for delivering a superb lecture on Spring Cloud Config. I have one doubt like shall I use any DB like Redis to store all configuration related k-v pairs?
Two projects A and B both use separate profiles values . Now project B includes project A as maven dependency. What will happen? How to switch on /off the profile value of dependcy project? Clearly Dspring.active.profile Vm arg will be common for both.
For example : You mean project A with profile test and project B with profile Prod need to interact in real time ??
What matters is the main application you run. You will have a fat jar that is one Spring Boot application. You choose profiles for that. The dependencies of the app share the same profile as the main app.
Hi Kaushik. I did not see "Goal 2 : Environment specific " video in your video series. Can anyone please share the video link. I want to learn this point.
ua-cam.com/video/P91tqdWUHE4/v-deo.html
@@ankushchoubeymusic Thanks...👍👍
Thanks Ankush! 🙏
I have one query if config server is watching multiple git repos and we want to share common properties (not by using override) across all repos. Is it possible?
I forget to mention I always check out all your post..keep posting..thank you.
You’d point your config server to just one Git repo. You can have multiple files in that repo, but make sure there’s one source of truth
you are just woow
what happens when config server goes down?
WOW!!!
I wish i could know who those two people are who disliked the video :-) .. either they didn;t understand the concept or new to english.
I downvoted. I don't think this is a good overview, but maybe I'm wrong.
1) He discussed having multiple different services hitting configserver to get a single value, such as a DB parameter. You can have shared configs with Spring Cloud Config Server, but you have to have a setup to allow that. That's more of an advanced topic. It wasn't even supported in early versions of ConfigServer, so is not a core goal. Typically, each service reads its own configs, and doesn't share its configs with other services.
2) He also said a service asks ConfigServer for a specific value. I don't believe that is possible. In any case, it would be very unusual. Instead, spring will call it at the outset when building the spring environment and bind to your local properties if you are set up that way. A spring app would not call configserver directly. In any case, you would never call Config Server for one specific property. That is not supported.
The problem is connecting your spring cloud server to a git repository. There are tow mian ways one that works using html git repo address with password and username. which is now being depricated, and the other way where you use ssh to create a private and public key. This is not being depricated and is very hard to get working, especially if you are using bitbuckey and of you want to use individual branches, then you are totally doomed.
Good
I believe your config cannot have your connection string details in this case as it's sitting on a git repository
That’s right. Secure configuration info wouldn’t be saved in plain-text. You’d need to encrypt it.
How can I buy you a coffee?
But if the config server makes a call to git repo every time a client asks for its configuration, wouldn't that make the client service slow
Git repo is fun for lower environment development and CI/CD. Do you really want to introduce another attack vector by hooking up your production deployment configuration values to a Git repo? Heck, some idiot might flip the flags accidentally for production where millions of users are doing business transactions. What's the harm?
Treat this as an API.
Ask my age and my employment status and I'll reply ASAP!
P.S. THIS API WILL BE ACTIVE TILL MY DEATH
Man hide yourself and make it full screen. Please