Using external property sources with Spring Boot - Microservice configuration with Spring Boot [04]

preview_player
Показать описание

Learn how to access external configuration sources in your Spring Boot applications. How do you change configuration values after building the Spring Boot jar? In this video, I'll show you how to access values from external property files as well as command line arguments without changing the jar file itself.

#JavaBrains #Microservices #SpringBoot #Configuration #Course
Рекомендации по теме
Комментарии
Автор

Hi koushik, I just wanted to remind you what you're doing for the world. I can guarantee that your tutorials on YouTube have not only improved the quality of software industry, software itself has benefited. Millions of people around the world, who have never even heard your name, are using better products because of you. Thank you for that.

nathantoulbert
Автор

You are one of my favourite teachers. Thank you, so many thing we take for granted. Your knowledge has benefited me so much. Thanks!

pooyannajafi
Автор

The best part of your videos is they r short in length so that no one can get bored while watching.

sahilmahajan
Автор

Oh great ! didn't know this. Thank you !

alokdwivedi
Автор

Just what I was looking for... Thanks for sharing...

abhishekkumarsingh
Автор

Thank you. simple and easy to understand.

djdarthzman
Автор

If I got this few months before, some time saved..In future will use this..thank you so much providing knowledge

vijayp
Автор

Thanks #Koushik, Every day I'm waiting for next video 😍👍🙂

azharmobeen
Автор

Thanks for the knowledge. Please add a video on 'How to gracefully start, restart and shutdown a microservice in production environment?'

anurag
Автор

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

mohammedshabbirahmed
Автор

Hi Koushik, Thank you. Just an update, external propety file is taken only when you are running java command from the folder which contains both jar and property file.

As in "java -jar build/libs/demo.jar" will not take property file placed in build/libs. I have also, tried adding spring config location argument but this results in exception

she.....
Автор

Thank you. Is there a way to prevent the override (something like override=false) for some specific properties

vgkarthi
Автор

Great content but please create a playlist for this course.

jaihind
Автор

Hi Koushik, I have one question. Is there a way to fetch the properties from the db instead of properties/yaml file?

HirakBhattacharjee
Автор

hi java brains, thanks for every time for new content I learning from you. I'm following from 2 years onwards this java brains channel, why you should suddenly changing the IDE

aswarthanarayanareddyb
Автор

Thanks Kaushik!! Could you please guide incase the app is deployed in kube cluster using a docker image and we need to keep the properties file outside.?

alokrm
Автор

Hi. Can u mash up both application.properties files? External to override in case of duplicate, otherwise to use both?

martinbozinovski
Автор

Can you demonstrate how to access spring data source properties from cloud config

funvideos
Автор

Thanks.. good content.. Can we see it in white intellij theme . It is more visible .

nehajain
Автор

Thank you sir, these days, this question is asked commonly in interview.

We can use spring-cloud-configure-server also. Where we link this server to git. Git will have property file.. our clien use this property file. We need to just use Refresh actuator for this.

vivekguptacs