Great explanation and easily understandable. Like BGM playing when explaining.
@ammabalasimha5 жыл бұрын
Hi Bro..I am really thankful to you as I have started spring cloud, microservices and spring boot with your videos... I learned spring cloud basics just because of u..Got confidence to build microservices...Thanks alot..
@amoldalvi10405 жыл бұрын
one of the crisp and clear demo I ever heard on any particular topic. Thanks a lot. Just wanted to mention that when I wanted to refresh client, it does not work with localhost:8080/refresh. Instead, It worked with localhost:8080/actuator/refresh. I am beginner in actuators so don't know why it worked like that.
@srikanthb43875 жыл бұрын
GREAT EXPLANATION AND EASILY UNDERSTANDABLE, I really like your videos very much, Back ground music is really disturbing sometimes it is dominating your voice, PLEASE take care of BGM, one or two people may like it but not all.
@ratneshchouhan63 жыл бұрын
@TechPrimers When I'm sending POST request using Postman I'm getting 404 any idea ? { "timestamp": "2021-05-17T23:10:03.950+00:00", "status": 404, "error": "Not Found", "message": "No message available", "path": "/refresh" } Actuator is available in pom.xm.
@lokeshkumarrathinave46456 жыл бұрын
Cool dude.. Its pretty simple and well explained for beginners. first time seeing your tutorial and impressed.
@channuk17 жыл бұрын
Good tutorial. Good explanation and demo of the architecture, usage of spring-cloud annotations and the code. Thank you.
@TechPrimers7 жыл бұрын
thanks channu.
@VRRM7 жыл бұрын
Can you do a video on Oauth 2 with angular front end with two are pages navigation to propagate the token to services?
@LivenLove6 жыл бұрын
spring cloud server code is not present in the git repo, can u please add it?
@parthapratimbaral43102 жыл бұрын
Can you create a sample with same but configuration should fetch from database
@kaipulla777 жыл бұрын
It was a clear video! Thank you! could you please reduce the volume of the BGM or you dont even need that sound, little disturbing! You are doing great man, keep it up! Thank you again!
@TechPrimers7 жыл бұрын
+kaipulla77 sure. Thanks dude
@at36554 жыл бұрын
Hi I want to do poc on spring cloud config server using docker?? Please can you help me about this
@VikashSingh-gq9dd4 жыл бұрын
How client knows there is change is git repository and call refresh ?
@dowlathbashag654 жыл бұрын
Hi Vijay, have an query regarding git repo and refresh scope ...please correct me how in production it will work...if i made some changes in property file , as per @RefreshScope annotation , need to run the url ( ie refresh url ) in postman then it will reflected in Browser. or it will work in production env. Pls suggest / inputs needed for this scenario. Thanks in advance for your explanation.
@JameS009893 жыл бұрын
Amazing cleared my concept thanks 🙏
@MohaideenA6 жыл бұрын
QQ:- localhost:8084/actuator/refresh is not working when I enabled Spring security , getting a 403 error , this same case happened when I access h2-console enabling spring security. Any work around ?
@ThrivikramayaSivaRaja6 жыл бұрын
Excellent! Many thanks Please don't mix background music, its really distracting.. all the videos are really good. But please take care of this.
@anirbanroy15246 жыл бұрын
Excellent awesome. This should be sufficient enough to work on similar project
@pankajkumar-ui3oi6 жыл бұрын
clear explanation in simplicity
@mohkharma6 жыл бұрын
excellent explanation! many thanks Please mute the background music :)
@rajanivardhireddy1775 жыл бұрын
How you can maintain different versions of config server for same app with different version?
@cpsarathe5 жыл бұрын
Precisely Great. Nice Music
@karthiks32035 жыл бұрын
The BGM is really refreshing, there is no other youtube channel which offers tech content with BGM, subscribed for that!!! Please do not remove it.. Very good explanation on cloud config. Have started seeing your other videos too. Well done Man!!! A query on spring cloud config - High availability. Is it possible to have more than one instance of spring cloud config up and running, referring to a single repository. This is for high availability, even if one is down, other would still be functional..
@TechPrimers5 жыл бұрын
Yes you can configure another instance
@annkit873 жыл бұрын
Thanks for the amazing content. I have some of the legacy java servlets based apps without spring architecture but require to use single place for their configs. How we can use similar approach in those apps? Or How we can make them config client to interact with config server?
@anirbanroy15246 жыл бұрын
Excellent presentation. Great learning
@mullamurivenkatakumar32154 жыл бұрын
can we get secrets and config maps from git repo to config client ?? through cofig server ??? pls explain me that Sir
@TechPrimers4 жыл бұрын
Secrets should never be stored in Repository. They should be stored in Vault and retrieved from the vault when required. Config maps with config server solution is not available right out of the box, but you can have a side car perform the job of config server and load into config maps
@krish264u7 жыл бұрын
Great videos and clear explanation. Thanks a ton, it helped me a lot.
@TechPrimers7 жыл бұрын
+Krishnaraj Sooji my pleasure Krishnaraj. Glad that was helpful
@kashif37206 жыл бұрын
Great effort! Just one concern, what 8f I would have to configure multiple properties like client.properties, db.properties etc
@balamurugansethuram7016 жыл бұрын
/refresh is not working. Not sure of the reason.
@rohitbuddabathina5 жыл бұрын
For datasource properties it's not working..is there a way to use datasource properties from cloud config?
@TechPrimers5 жыл бұрын
It won't because Datasources are refreshed only during the process startup. It's a costly operation to do connection reinitialisation. You have to override Datasource creation at your app level to achieve it
@rohitbuddabathina5 жыл бұрын
@@TechPrimers ohh okay, thank you 🙂
@rahotmanp52123 жыл бұрын
Good Explanation, how do we differentiate with different profiles like DEV, Integration, Certification and Production
@aayanmovierrr27905 жыл бұрын
very nice video and explanation.just one concern last step "localhost:8981/refresh" is not refreshing.i am using spring boot 2.2.2.any idea??
@amirchoubani50016 жыл бұрын
I think the config server folder in github does not exist any more.
@premierde7 жыл бұрын
The spring-boot client does not work it won't fetch the properties, if you remove spring-web dependency. Change ur client to jms client and not a Rest client. (Spring-boot jms client does not need spring-web). Can you try with jms client?
@commonman85404 жыл бұрын
very clear, thank you.
@chandanbharadwaj74807 жыл бұрын
Very good explanation. Thank you!! I have a couple of questions. 1. how can I change the property values for the beans which are in @Configuration class ? (for eg: any db config ) 2. Can't we automate the /refresh endpoint, instead of doing post request every time?
@TechPrimers7 жыл бұрын
+Chandan Bharadwaj 1. You can just inject the @Bean with connection factory and inject properties and override in the connection factory. You can example in the internet. 2. If we add refresh in regular intervals, it's not efficiently used. The refresh can be used only when the properties got changed. Most of the time property change is not going to happen very often. So it makes sense to do the refresh only when required
@virtexamit7 жыл бұрын
Another great work by you. Can you also cover these question please. What happen when (1) you have multiple config server, (2) we are using github instead of local git and (3) multiple user can update that config. How changes from github server reach to different config server running parallel on different VM's. How does all micro service get latest version of config in your example you have only one micro service but in real world we can have multiple instance of same or different micro services running parallel hitting refresh URL manual is not good option. How does we know IP and port because micro-service come and go based on different KPIs.
@theniteshkumarjain6 жыл бұрын
Nice and simple explanation. But I have a doubt. Say my microservice is deployed in aws with multiple instances. Will the refresh url refresh the changes in all instances?
@TechPrimers6 жыл бұрын
Yes,
@akshaysachdeva64015 жыл бұрын
Hi great video, i am trying to deploy the server and client on kubernetes and i want to use the configs from github only and not use config maps or secrets of kubernetes and neither use spring cloud kubernetes . Is there a way to do that??
@kashif37207 жыл бұрын
can we write config client and server in same boot application?
@ramakrishnapvs16246 жыл бұрын
i have a main application with spring boot 2 application with angular 1. can i use config server in same application by adding git details in application.properties? or do i need to create a seperate application for that
@TechPrimers6 жыл бұрын
If the properties are in a separate app, its easier to track versions. If you have it in the same repo, then tacking the version of your app + your properties will be difficult
@virtexamit7 жыл бұрын
We do configure our Microservice with discovery server. Is it possible to update our Microservice configure with new discovery server location or adding another one more for balancing load?
@TechPrimers6 жыл бұрын
to make your additional discover service seamless to other microservice, you can do via load balancing. Else if you want to have separate group of services then you can have them separately.
@28kverma7 жыл бұрын
Can you please upload code for config server; it is not available in the github location mentioned above.
@TechPrimers7 жыл бұрын
you can check out the project - github.com/TechPrimers/spring-boot-config-server-example
@shdigaja7 жыл бұрын
There is no code under config-server at that link
@mannu16486 жыл бұрын
Simple , informative and effective , Love ur all tutorials !!! Can you tell me how you opened two projects in separate window in intellijIdea
@TechPrimers6 жыл бұрын
thats the default setting option, you can enable it back to ask everytime you open new project. check setting window and search for opening projects in new window
@rajshekharteertha70546 жыл бұрын
enjoyed the cloud knowledge with music.. Thanks
@palashkhatri78206 жыл бұрын
Nicely Explained , Thank you
@JourneyBliss-ks15 Жыл бұрын
War your using server configuration right?
@MohaideenA6 жыл бұрын
How can we use public git repository instead of local git repository ?
@TechPrimers6 жыл бұрын
you can do like the one mentioned here - cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html
@quangbinhinh75385 жыл бұрын
Still get error "Could not resolve placeholder" 'xxx' in value '${xxxx}'. Totally disappointed...
@karan65514 жыл бұрын
Awesome ❤️❤️❤️❤️🔥
@myjava28444 жыл бұрын
I tired this but getting error while running Config Server PPLICATION FAILED TO START *************************** Description: Invalid config server configuration. Action: If you are using the git profile, you need to set a Git URI in your configuration. If you are using a native profile and have spring.cloud.config.server.bootstrap=true, you need to use a composite configuration. Can you please help
@ILyaCyclone6 жыл бұрын
Hello Tech Primers! Could you make config-server available on github? It is not available at the moment.
@thusithanuwan78655 жыл бұрын
You don't need to restart the client. That's the point right?
@TechPrimers5 жыл бұрын
You are right
@asliyanage6 жыл бұрын
why config server can't add Db properties?
@TechPrimers6 жыл бұрын
We can add. however, Data Source creation(DB Connection creation) happens only during the process start. Hence its not a good practice to add DB Properties, because you need to do a DataSource reloading which is a costlier operation while the process is UP and running already
@sumitmehta43066 жыл бұрын
Great Explanation!!!!!
@rexroy40376 жыл бұрын
simple and clear, thanks for the video.. :)
@narendrareddyd26456 жыл бұрын
Please remove the BGM that's distracting the concentration . Your videos are really useful thank you
@manishkushwaha40506 жыл бұрын
Hi My localhost:9991/refresh is not working and giving 404, could you please update me what is the issue, did i miss something ?
@TechPrimers6 жыл бұрын
Is that the port with which u have started?
@murari-goswami6 жыл бұрын
Please do not play background music, sometime annoying a lot. Thanks for the demo though
@lavanyav87485 жыл бұрын
BGM is very disturbing, kindly avoid. Good explanations and we would like to get benefitted from your videos.
@rajeshch12675 жыл бұрын
Hai sir, Please clarify my doubts.we have 100 microservices available so one microservices server or application failed in production environment or in cloud. How should we know that microservices failed. Please replay sir
@TechPrimers5 жыл бұрын
You can use AppDynamics or Dynatrace or similar monitoring tools which monitors your microservice (typically using a actuator/health check endpoint) and raise alerts or leverage auto scaling capabilities of cloud which will create new instances automatically
@rajeshch12675 жыл бұрын
How to configure and any examples is there
@techieszone37046 жыл бұрын
Thanks for sharing. Very informative! Can u share a video on zookeeper also?
@narendrareddyd26456 жыл бұрын
How to implement profiles in this
@TechPrimers6 жыл бұрын
Pls check profiles in spring boot video
@ChristianAltamiranoAyala6 жыл бұрын
A great video tech primer team. I have a question, in case I have a microservices with a lot of instances the refresh method is some tedious. Is there any way to solved that problem? Thanks
@TechPrimers6 жыл бұрын
the /refresh needs to be done only when there is a config change and that need not be done on a daily basis. If thats done regularly, you need to opt for a different approach. But ingeneral there is no better way as of now.
@sanjaykantheti40026 жыл бұрын
when we have config changes in multiple microservices and need to apply refresh then we can use Spring cloud Bus. :)
@fairozahmed71137 жыл бұрын
Thank you so much.. So nice of you.... God bless.... Great work... :) :) :)
@TechPrimers7 жыл бұрын
my pleasure Fairoz
@nanalaly5 жыл бұрын
Very useful
@ParasSharma16july19916 жыл бұрын
Hey, your videos are great , can you create a video about PCF and how to deploy microservices in PCF.
@TechPrimers6 жыл бұрын
Not sure if you already saw it. Its already there - kzbin.info/www/bejne/nqu6dqpjYrStn7M
@vanithabasavanna60807 жыл бұрын
well explained thank you
@TechPrimers7 жыл бұрын
+vanitha basavanna thanks Vanitha. Glad that was useful
@ayeshaazeez25534 жыл бұрын
Good explanation but please avoid background music it's very disturbing
@sss674477 жыл бұрын
nice explanation,could u do a video on how to handle transaction in micro services based architecture applications
@TechPrimers7 жыл бұрын
sure Sam. i will do that soon.
@tapashreesmruti6 жыл бұрын
Very nice vedio. Thank you for your effort. Your contribution of sharing knowledge means a lot to people like me. I tried this myself. But when i hit refresh in postman with POST, it gives error like Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]. Please help
@arunjagtap97937 жыл бұрын
nicely explained.
@TechPrimers7 жыл бұрын
Thanks Arun. Glad that was helpful
@dharmaraogera33334 жыл бұрын
please add the server code in git
@rajeshch12675 жыл бұрын
great explaination but how to configure svn. in my project i using svn sir.
@TechPrimers5 жыл бұрын
you can take a look at examples from here - github.com/spring-cloud-samples/svn-config-server
@rajeshch12675 жыл бұрын
Thank you so much sir
@harishkilari80365 жыл бұрын
Great demo!! I see you have added management.security.enabled=false in application.properties of client application. Can we disable security in testing/production environments? Is it not vulnerable if we do so? Can you please tell me about that and Can't we refresh client application with out disabling security?
@TechPrimers5 жыл бұрын
Yes Harish, it is vulnerable and we should not do this. You can have automations in place to have a different account which has access to this /refresh end point. Store the password of this account in a Vault and retrieve it via an API which has approval processes
@harishkilari80365 жыл бұрын
@@TechPrimersThanks for the response!! Could you help in getting any reference link/site/doc we can look into?
@TechPrimers5 жыл бұрын
You can get references for securing your service - stackoverflow.com/questions/29605201/how-to-secure-spring-cloud-config-server Use CyberArk APIs to retrieve password from a Vault.
@wikiiwOw3 жыл бұрын
Bhai not bootstrap not working
@agguLi4 жыл бұрын
I don't really get the advantage of this. In a real production env you (Docker or Kubernetes) you will use secrets and the instances will be orchestrated. I always use a .yml file and set my variables via env vars. The orchestrator handles changes and redeploys but keeping the old version alive and online till the new version is deployed and running. So the client will habe no down time. Besides an external config server increases coupling and the separate refresh call is pretty annoying too. I never used it and I guess I never will. But thanks for the video
@hkmehandiratta2 жыл бұрын
code-server code missing from Github. Thanks for Tutorial though. Good job.
@lovekeshkulria58076 жыл бұрын
why can' t you reduce background music
@mayureshtrivedi12345 жыл бұрын
Excellent Demo but the music in background was annoying... you may reduce it to very low or remove it.... because we concentrate on your words and demo then music....
@vanithabasavanna60807 жыл бұрын
well explained
@TechPrimers7 жыл бұрын
thanks vanitha. Glad that was useful
@jaishantbiradar1727 жыл бұрын
Thanks
@SrinivasaKalyanParupalli5 жыл бұрын
Fantastic tutorial.... Can you please get rid of the background music.....pl pl pl
@jamesmiller96 жыл бұрын
Can you please upload the video without background music. It makes less focus about presentation.
@MohaideenA6 жыл бұрын
Including this comment for those who are using new version , the refresh URL /refresh will not work in new version, you should use /actuator/refresh and With Spring Boot 2.0.*, actuator endpoints must be 1) enabled and 2) exposed. By default, all endpoints but shutdown are enabled and only health and info are exposed. In this case, the following should work: management.endpoints.web.expose=refresh stackoverflow.com/questions/48900892/how-to-enable-all-endpoints-in-actuator-spring-boot-2-0-0-rc1
@yadnyesh7 жыл бұрын
Great work...request you not to have the background music. It distracts a bit. Your videos are awesome.
@TechPrimers7 жыл бұрын
+Yadnyesh Juvekar sure yadnyesh. Will not have then in new ones
@3pearlpret6 жыл бұрын
please keep the music , its awesome :)
@HPMuwa6 жыл бұрын
Спасибо
@srikanths46025 жыл бұрын
Great Explanation. Quick question at kzbin.info/www/bejne/mGPMmWiIeNqriq8 couldn't understand how the git repository is initialized. Is is initialized just in the local ? Not in the github.com, Am I understanding it correctly ? Thanks
@nehanigam49975 жыл бұрын
music is really annoying, not able to concentrate!
@kannatube12 жыл бұрын
best content, adding bgm is worst idea.. it is annoying
@sahinsarkar72935 жыл бұрын
The music should have been shut off. It's very distracting.
@trebleclef48895 жыл бұрын
Meybe real life example was better for understand when to using config server.
@rasZam2 жыл бұрын
music in the background is annoying
@ajaybachhal36753 жыл бұрын
too many adds
@sayitlikeitis12025 жыл бұрын
Please get RID of the background music !!! REALLY ANNOYING