Spring profiles explained - Microservice configuration with Spring Boot [08]

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

Learn what Spring Profiles are and how you can use them to achieve environment specific configuration for your Spring Microservices.

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

I personally like your tutorials. Could you also start a tutorial of any cloud (Aws/Azure/GCP) after micro service. It would be really helpful if you could do so.

diboracle
Автор

this is why I'm, again and again, fall in love with java brains, Thank you java brains for enhancing my skills of 'spring profiles'. this is very helpful for me in development. I'm waiting for the actual microservice series.

aswarthanarayanareddyb
Автор

I am an IT professional but your videos makes me travel back to my college days where I was blessed with some excellent professors. Thanks to you, the way you explain gives me opportunity to feel like I am in the same classroom and you are one of those excellent professors. I personally like your explanation because answer all WHY questions. We know WHAT to use where but you emphasise more on WHY should we use that.

shrabontipal
Автор

I searched half the web how it works..(and naming convention in profile!) Java Brains explains and I get it at once!

amplipeter
Автор

I watched this course in most rated paid online learning platform. That is no where near to your explnation. Koushik Your are The Man.

SatyaUpendra
Автор

If this video is spring bean, it goes to @Profile("Awesome Explanation") ❤

vinodhkumarummaneni
Автор

I never want disappointed by the Explanation of Sir.
Thanks for your videos !!!

You are always the Best.

harshverm
Автор

Amazing. Perfect mix between theory and practice. Thanks!

pablon
Автор

Nice explanation as always! Please start another series for deploying micro services

yashpalgandhi
Автор

This is a very good explanation of what @Profile is. Thanks!

Blueflamey
Автор

Hey man, this was amazing. Before this video I was wondering how I was gonna set up profiles in maven! It's such a relief that this could be done via jar.

Thank you very much!

GuitarreroDaniel
Автор

Really liked your tutorials. I was confused that how exactly the profiles are being choosed. You explain it quite nice👌

VivekYadav-hxhp
Автор

Note - This method will work till spring boot 2.3. Starting from 2.4 there can be one single application.properties file separated by #--- for env specific values using profile name> at the start followed by the env specific values

kaushikmitra
Автор

Very helpful tutorial for learning profile in spring boot, I like the way that sir explain with real time examples in coding.

krimarokadiya
Автор

Thank you. Your tutorials are just too good.

In this particular context of spring profiles, I would like to add

I needed to start my application with TWO profiles active...

My React front end was facing CORS issue when accessing my spring boot backend
- so had a special bean with a @Profile("corsSecurity")

and to have TWO profiles (dev and prod) had this in my default application.properties

spring.profiles.group.dev=dev, corsSecurity
spring.profiles.group.prod=prod, corsSecurity

and started my application with either

java -jar <name-of-jar> --spring.profiles.active=dev or --spring.profiles.active=prod

JeevanSunkersett
Автор

Thankyou. Clear, informative and to the point. Spring profiles...done

Creeper-dcoz
Автор

Great tutorial!! This is what i was looking for implement in my project.

ramlimbu
Автор

In this era of netflix and stuff, I am glad to binge watch these 😎

rajmiglani
Автор

Огромное, СПАСИБО! Ты просто молодец! :)

hkgifen
Автор

Yours videos are so helpful! Thank you!

marekdarek