I would like to suggest a couple of new topics which could be helpful 1. Exception Handling for service to service communication. 2. Docker compose for the entire application.
Very nice tutorial. Could you extend this and show the dockerization of the services and start the entire setup using docker compose. Additionally, which version of Intellij are you using for this tutorial? I do not see the option of 'Spring Boot' after selecting Services -> Add Service -> Run Configuration Type in order to manage running multiple services.
Cheta... Thankyou first of all for making video❤ "This is the best and clearest explanation of microservices architecture I've seen! As a fresher, I understood it perfectly on the first go. Thank you so much for this video. Please, please make a continuous series on messaging queues like Kafka and RabbitMQ. Your teaching style is amazing!"
Must say, this is an excellent source for Spring microservices. I can see lot of effort went into creation of this video. The example of streaming videos you picked up was not too easy and not too difficult too, so people can concentrate on the microservices aspects that you have presented. Kudos to you. Please keep posting videos like this.
Awesome video man. I have a doubt, let suppose I have 3 different profiles for all my microservice (dev, test, prod). How can config-server knows which profile load when..? Like load dev profile in development mode and prod in production.
Good question! In the individual services, you can specify which profile should be fetched from the config server. "The spring.cloud.config.profile property is used to specify the active profile for the Spring Cloud Config client. The profile is used to determine which properties files are loaded from the Config Server." For example, at 1:20:48, you can specify "spring.cloud.config.profile=dev" at line 4. Then, movie-catalog-service will start on dev profile. Similarly, you can even configure different profiles for different microservices like this.