Introducing Spring Cloud Config Server - Microservice configuration with Spring Boot [10]

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 77

  • @ADGroupOfArtMedia1
    @ADGroupOfArtMedia1 5 років тому +89

    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.

    • @bhushandafale967
      @bhushandafale967 5 років тому +1

      Same for me. Thanks to Java Brains. Thanks to Koushik.

  • @nishikanttayade7446
    @nishikanttayade7446 4 роки тому +21

    Are you kidding me? How easily can he explain any topic, thanks for all your efforts and awesome content!

  • @SouravDuttaROCKSTAR
    @SouravDuttaROCKSTAR 5 років тому +13

    I'm really learning fast from the morning videos everyday .. detailed information .. and my journey to a full stack ☺️ Thanks Koushik

  • @yaliniiniya1234
    @yaliniiniya1234 3 роки тому

    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.

  • @mohammeddiedhiou5783
    @mohammeddiedhiou5783 5 років тому +3

    From sénegal. It's pleasure to learn every morning with you. Thanks koushi

  • @karthikgotrala580
    @karthikgotrala580 5 років тому +1

    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...

  • @AjayKumar-fd9mv
    @AjayKumar-fd9mv 4 роки тому

    Thanks, The videos are so addictive that I think I can not stop my self from binch watching the whole tutorials.

  • @vamsiKrishna96
    @vamsiKrishna96 4 роки тому

    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.

  • @prakashbtw678
    @prakashbtw678 5 років тому +1

    My day starts with your video instead of cofee. Thanks for valuable information.happy learning.❤️

  • @PrasannaLakshmi74
    @PrasannaLakshmi74 5 років тому +1

    Super like Kaushik. I am a fan follower of your videos and treat you as my guru. 😃

  • @jalalshaibany7607
    @jalalshaibany7607 4 роки тому

    Man .. You make things seem pretty simple! .. Great job.

  • @sreenivas9082
    @sreenivas9082 4 роки тому

    Very best teaching and execution

  • @jinasameer10
    @jinasameer10 5 років тому +9

    Best way to start the day :)

  • @yashnasery8501
    @yashnasery8501 4 роки тому

    This is the best video so far in this level 3. Thanks Koushik :)

  • @aswarthanarayanareddyb176
    @aswarthanarayanareddyb176 5 років тому +2

    Thanks koushik, im waiting for the next video

  • @shubhi2648
    @shubhi2648 3 роки тому +1

    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 ?

  • @mohammedshabbirahmed976
    @mohammedshabbirahmed976 3 роки тому

    You are Awesome Bro You are A Hero You ROCK THE WORLD BRO YOU ARE SUPER AND THE BEST

  • @GuitarreroDaniel
    @GuitarreroDaniel 4 роки тому

    A very clear explanation man, thank you very much!

  • @gauravk002
    @gauravk002 3 роки тому

    Nicely Explained..

  • @oggiemc83
    @oggiemc83 4 роки тому

    Another truly superb tutorial :) great content with perfect delivery. Thanks so much for these tutorials!

  • @rahanarahman7451
    @rahanarahman7451 5 років тому

    Very nice! Please add a video on feign client as well

  • @don300100
    @don300100 5 років тому +1

    Thanks Kaushik....

  • @easwargaming7903
    @easwargaming7903 5 років тому +2

    Waited For this video !

  • @romantsyupryk3009
    @romantsyupryk3009 4 роки тому

    Thanks so much for this tutorial.

  • @qwarlockz8017
    @qwarlockz8017 3 роки тому

    Love your vids always... question: Are you using OBS to make them?

  • @kpl_sh
    @kpl_sh 3 роки тому

    wawww.... extremely fantastic

  • @sheebajoseph6135
    @sheebajoseph6135 Рік тому

    Helpful video

  • @wiper123ful
    @wiper123ful 5 років тому +4

    Can you do a series on spring reactive stack ??

  • @SmileKaroYaar
    @SmileKaroYaar 2 роки тому

    note - 7:16

  • @gajjalapuusha02
    @gajjalapuusha02 2 роки тому

    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.

  • @parikhsagar898
    @parikhsagar898 5 місяців тому

    @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?

  • @mdmaqsoodansari
    @mdmaqsoodansari 3 роки тому

    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 ?

  • @shirishkhairnar2807
    @shirishkhairnar2807 3 роки тому

    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?

  • @BeastInYourV
    @BeastInYourV 5 років тому

    super nice explanation .this what i was looking for.can we also change hibernate mappings from this?

  • @anandakumarsanthinathan4740
    @anandakumarsanthinathan4740 3 роки тому

    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.

  • @Xenon77x
    @Xenon77x 5 років тому

    Please guide us how to get a spring boot job .... great work btw 🤗

    • @Java.Brains
      @Java.Brains  5 років тому +3

      Learn. Code. Get good. Attend interviews. I am not aware of any shortcuts to this unfortunately

  • @samir105yt
    @samir105yt 5 років тому +3

    Hi Koushik. Is config server good for storing secrets like db passwords? PS: thanks a lot for the video and whole series.

    • @TheUnknownAlways
      @TheUnknownAlways 5 років тому +1

      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

    • @satyendrasingh9658
      @satyendrasingh9658 5 років тому +1

      You can use spring cloud config with database or vault for secure credentials storage.

    • @Java.Brains
      @Java.Brains  5 років тому +5

      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

  • @afnanrehman866
    @afnanrehman866 5 років тому

    Can you please make a video on spring cloud streams and functions using kafka and Reactor

  • @anushkasharma3410
    @anushkasharma3410 4 роки тому

    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 ?

  • @prashanthij3894
    @prashanthij3894 4 роки тому

    Do we have any other option other than cloud config server to externalize properties. Koushik please help us if you know anything.

  • @sriramsrinivasan3008
    @sriramsrinivasan3008 5 років тому +1

    Just wondering if you can demo spring cloud bus and demo real time management of property changes

    • @Java.Brains
      @Java.Brains  5 років тому +5

      Yep, not spring cloud bus, but in this series, I plan to teach you real-time updates to config without restarting your microservices.

  • @shashavalijava9
    @shashavalijava9 7 місяців тому

    ❤❤❤

  • @nagendrasai3946
    @nagendrasai3946 5 років тому

    $$$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?

  • @vigneshbalachandran9704
    @vigneshbalachandran9704 5 років тому

    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.

    • @naanthaanda2226
      @naanthaanda2226 5 років тому

      For example : You mean project A with profile test and project B with profile Prod need to interact in real time ??

    • @Java.Brains
      @Java.Brains  5 років тому +1

      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.

  • @avijitkhandelwal1658
    @avijitkhandelwal1658 5 років тому

    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.

  • @brijeshsrivastava21
    @brijeshsrivastava21 5 років тому

    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?

    • @brijeshsrivastava21
      @brijeshsrivastava21 5 років тому

      I forget to mention I always check out all your post..keep posting..thank you.

    • @Java.Brains
      @Java.Brains  5 років тому

      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

  • @prashanttiwari752
    @prashanttiwari752 4 роки тому

    you are just woow

  • @sumankalyanghosh4838
    @sumankalyanghosh4838 4 роки тому

    what happens when config server goes down?

  • @vinaykumardiona
    @vinaykumardiona 11 місяців тому

    WOW!!!

  • @TheAmit4sun
    @TheAmit4sun 4 роки тому +1

    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.

    • @Marnie-hates-winter
      @Marnie-hates-winter 3 роки тому

      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.

  • @tonycavanagh1929
    @tonycavanagh1929 3 роки тому

    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.

  • @MohitKumar-rs8yv
    @MohitKumar-rs8yv 5 років тому

    Good

  • @TheUnknownAlways
    @TheUnknownAlways 5 років тому

    I believe your config cannot have your connection string details in this case as it's sitting on a git repository

    • @Java.Brains
      @Java.Brains  5 років тому +1

      That’s right. Secure configuration info wouldn’t be saved in plain-text. You’d need to encrypt it.

  • @josembass
    @josembass 4 роки тому

    How can I buy you a coffee?

  • @krishan7976
    @krishan7976 4 роки тому +1

    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

  • @valeenoi2284
    @valeenoi2284 2 роки тому

    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?

  • @depression_plusplus6120
    @depression_plusplus6120 Рік тому

    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

  • @wazeeharaa8100
    @wazeeharaa8100 2 роки тому

    Man hide yourself and make it full screen. Please