Using property file config with Spring Boot - Microservice configuration with Spring Boot [03]

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025

Комментарии • 43

  • @nishantkr996
    @nishantkr996 5 лет назад +2

    Eagerly waiting for next videos.

  • @akhilnaidu7490
    @akhilnaidu7490 5 лет назад +3

    Nice explanation Kaushik

  • @sathishkumar3355
    @sathishkumar3355 5 лет назад +2

    wow, everyday new learnings..Thank you koushik

  • @mohammedshabbirahmed976
    @mohammedshabbirahmed976 3 года назад

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

  • @abukasozi295
    @abukasozi295 5 лет назад

    Nice work JB

  • @MsZokari
    @MsZokari 4 года назад +1

    wonderfully explained. Thanks

  • @jeffpalmer6447
    @jeffpalmer6447 5 лет назад +3

    How do I bring a group of properties into a POJO automatically without using dozens of @value?

  • @rajv2234
    @rajv2234 3 года назад

    is there any way to access Dependency Jar referring to its own application.properties?

  • @talktoanny
    @talktoanny 5 лет назад

    Awesome video.. Please sir make some video on Jenkins CICD process

  • @KidsCricketHub
    @KidsCricketHub 3 года назад

    Hi , Can we create our custom properties file say login.properties & how to load it?

  • @tanayakarmakar2407
    @tanayakarmakar2407 4 года назад

    Hi Kaushik, I have a question, I am having a maven multimodule spring boot project, like commons-module, data-module, business-module, webservice-module(entrypoint), now I have a messages.properties which contains some error messages and I have put that into commons-module and I have configured MessageSource and LocalValidatorFactoryBean bean in commons-module only, now I want to access some keys of messages.properties in my business-module, how can I do that

  • @madhucharan9810
    @madhucharan9810 3 года назад

    Hai sir ,
    We need to select a folderpath by using webpage and also send path of the folder to one string or send in another location

  • @BekTesfa
    @BekTesfa 5 лет назад +2

    What is the advantage of having the config file outside of the spring boot jar? I suspect that would allow us to do a manual change of the config file. Correct? What about using an endpoint that exposes an api to make changes to the values in the application.properties file which will be inside a spring boot jar? Waiting to watch your next video. Thanks !

    • @chanakyav6368
      @chanakyav6368 3 года назад +1

      Once the application is on live, only specific production team mates have access to make configuration changes, they can't hit to your end point url and make changes that easily. It's might need encrypted security token to access any endpoint url. In banking domains, Every endpoint url must pass security test, else product will not be given sign off . So it's better to have property file than endpoint url.

  • @ersarthaksethi
    @ersarthaksethi 2 года назад

    please create the video with your visual, that helps and adds the focus , Awesome content apart from that

  • @Saurabh-c9w
    @Saurabh-c9w 5 лет назад

    Thank you sir for great videos and learning..

  • @simawdf
    @simawdf 5 лет назад +9

    Great video sir..One sincere request If possible could you please provide information and learning on Springboot with MQ and Kubernetes?

  • @kapiljain7596
    @kapiljain7596 4 года назад

    I have defined a url which I want some of the classes to read that url.. so what I did is I mentioned that url in application.properties file .. also I added @ value annotation and did exactly same thing in all the classes.. but it's coming null.. when I try to get it.. any suggestions?

  • @darkenergy7121
    @darkenergy7121 4 года назад

    How do i set the value of @CircuitBreaker annotation properties such as maxAttempts from the value on the properties file?

  • @mr.techno-era7474
    @mr.techno-era7474 4 года назад

    How do i display custom validation for @NotNull (typeMismatch)? How do i set custom validation message in properties file?

  • @rohithakash8093
    @rohithakash8093 4 года назад

    My Project is running and I can see output in Browser ,But I am not able to see jar file

  • @vgkarthi
    @vgkarthi 5 лет назад

    simple and clean . Can this be followed in Yaml too ?

    • @Java.Brains
      @Java.Brains  5 лет назад +1

      Yes! I’ll be covering yaml format as well in an upcoming video

    • @vgkarthi
      @vgkarthi 5 лет назад

      @@Java.Brains Great .. thanks.. one small request.. can your interface be changed to bright mode.. thought it could be easy to ready for many.. may be you can post a vote and change if required.

  • @niteshkumar5226
    @niteshkumar5226 3 года назад

    that's really great

  • @arjitmishra100
    @arjitmishra100 5 лет назад +2

    please cover central authertication also in this. Thanks kaushik

    • @Java.Brains
      @Java.Brains  5 лет назад +1

      I’m not sure if authentication is in the scope for this course. Maybe I’ll cover it with content around API gateway and microservice security

    • @arjitmishra100
      @arjitmishra100 5 лет назад +1

      Java Brains ty. Actually I am doing a project in my college and I am trouble in understanding zuul routes, cors policy especially the override path and preauthorise filters. Any help from you is appreciated. Ty sir

  • @raphauy
    @raphauy 4 года назад

    Thank you!!!

  • @ainigma100
    @ainigma100 3 года назад

    Thank you for your video! Is it possible to use a property specified in the .properties file and then assign this value both to POM file and to a Java class?
    For example: create a property called "api-version=1.0.0", use this value in the POM file so that when we generate the JAR file this value will be used instead of "0.0.1-SNAPSHOT". Also, because I use a custom Header ( httpServletResponse.addHeader("API-Version", "1.0.0") ) , I want to add here as well the value of the api-version. I know that I can go directly in the POM file and change the value of 0.0.1-SNAPSHOT but I want to create a property that will change both POM and a header value at the same time
    I need somehow to globalize the property in order to use it in POM file and in another Java class where I create the custom header.
    Thank you

  • @vrushalipatil3993
    @vrushalipatil3993 3 года назад

    the below application.properties file is in a consul key/value store: name=ben
    the below is the application.properties file in a microservice: name=sam
    the microservice has a bean with the below value: @value("${name}")
    what is the answer of this question?

  • @SmileKaroYaar
    @SmileKaroYaar 2 года назад

    note 3:15

  • @vivekguptacs
    @vivekguptacs 5 лет назад

    Nice explaiation sir.
    Could you please create video for springboot +throttling. Concept with example. It will be helpful to crack interview

    • @Java.Brains
      @Java.Brains  5 лет назад

      Thanks! I’ve covered thread handling of concurrent requests, fault tolerance and the bulkhead pattern in Level 2. Is that what you mean?

    • @vivekguptacs
      @vivekguptacs 5 лет назад

      @@Java.Brains interviewer asked question related to Ratelimiter , if there are multiple clients some have basic plan , premium client, we need to restrict their request. After googling it, i found that there are guvava api for request rate limiter( eg 10 request per 5 second.. ) apart from that... Spring-boot- starter-throtller dependence is also there.
      Above question was asked in intervew I didn't hear this before. I just googled it.it was there.

  • @suryatejareddymallidi110
    @suryatejareddymallidi110 5 лет назад +3

    Hi Kaushik, I am fan of your videos. You are the main reason for my professional success as a java developer, thank you is a very very small word for your help. Is it possible for you to share a time line or a schedule for the release of this complete playlist?

    • @Java.Brains
      @Java.Brains  5 лет назад +2

      I plan to upload one video each day. I have a total of 16 tutorials for this course. I’m halfway done with rendering them all out, but I should be able to catch up and keep to the one-a-day schedule

    • @suryatejareddymallidi110
      @suryatejareddymallidi110 5 лет назад

      Java Brains Thank you so much Kaushik. I appreciate your hard work in getting the best content to us.

    • @simawdf
      @simawdf 5 лет назад

      @@Java.Brains Great tutorials for us sir!

    • @suryatejareddymallidi110
      @suryatejareddymallidi110 5 лет назад

      Joined in the membership program.👍🏻

  • @smithdragon6477
    @smithdragon6477 5 лет назад

    teacher can u teach me microservice transactions

  • @USONOFAV
    @USONOFAV 5 лет назад +1

    Put it in a manifest file