No video

Spring Boot Microservices Tutorial - Part 3 - Inventory Service

  Рет қаралды 5,113

Programming Techie

Programming Techie

Күн бұрын

In this Spring Boot 3 Microservices tutorial series, we will learn how to build microservices using Spring Boot and Spring Cloud.
This is part 2 of the series, in this part, we will cover:
- Building Inventory Service
- Database migrations using Flyway

Пікірлер: 30
@nawwintphyu1873
@nawwintphyu1873 14 күн бұрын
Thank you so much!
@nailtagiyev6340
@nailtagiyev6340 4 ай бұрын
This is where fun begins)
@gauravgaikwad4833
@gauravgaikwad4833 4 ай бұрын
By what time period we can expect all the videos of this series to be posted. Asking because I have started old series so if this videos will be posted faster i will resume this series instead of old one. And Thanks for all the work you are doing. Kudos!
@ProgrammingTechie
@ProgrammingTechie 4 ай бұрын
You can expect 2 videos per week, every Monday and Friday, there are still 8 more videos to go
@dhruv6113
@dhruv6113 4 ай бұрын
Why do you choose jar instead of war? I have been reading about it and didn't find a proper answer. What I read about is that Jar runs on desktop and has webserver packed into it whereas war file runs inside webserver so you will need to take care of that also while creating a container in docker. Using jar will make sure each of our microservice runs independently. The second difference I read is JAR files allow us to package multiple files in order to use it as a library, plugin, or any kind of application. On the other hand, WAR files are used only for web applications. Then why are we choosing JAR when our microservice is a web application?
@ProgrammingTechie
@ProgrammingTechie 4 ай бұрын
Spring Boot provides us the option of running an embedded tomcat server inside our applications, so that's why there is no need to create a WAR file, you can just create a JAR and run your application. Also, a JAR file by definition does not contain a webserver packed into it, it's Spring Boot which is providing us this option.
@dhruv6113
@dhruv6113 3 ай бұрын
@@ProgrammingTechie thanks
@rahulgyawali
@rahulgyawali Ай бұрын
docker compose works for me but the command inside init.sql is never executed for me. anyone else facing same issue?
@imsairaj5160
@imsairaj5160 14 күн бұрын
Check if you are correctly placing your packages, it should be docker-mysql-init.sql, any mysql package generated should be from docker run..
@howsusisthis
@howsusisthis 3 ай бұрын
When I run the mysql docker container for the inventory service I get an error saying "The container name "/mysql" is already in use by container" even though I have shut down the docker container for the order service. It works when I change the name but I was just wondering how it works for you without changing the name.
@mustafaadel9703
@mustafaadel9703 3 ай бұрын
Same here
@user-pv4bb2ib8m
@user-pv4bb2ib8m 3 ай бұрын
@@mustafaadel9703 same question
@user-pv4bb2ib8m
@user-pv4bb2ib8m 3 ай бұрын
I guess he have deleted the container for the earlier service that is why he was not getting any issues.
@Leetneetcode1729
@Leetneetcode1729 26 күн бұрын
did you get a soluttion
@baronnashor9765
@baronnashor9765 7 күн бұрын
Watch next video (part 4) starting at 10:00, same problem occurs there
@lakshmojiseemakurthi2199
@lakshmojiseemakurthi2199 Ай бұрын
I have deleted the container created for order service. I am grtting an error designated data directory /var/lib/mysql is unusable . How to resolve this
@imsairaj5160
@imsairaj5160 14 күн бұрын
Just delete that table and rerun the docker, down your existing container by docker compose down, and re run it by docker compose up -d
@anotherOne12342
@anotherOne12342 4 ай бұрын
What appearance theme are you using?
@ProgrammingTechie
@ProgrammingTechie 4 ай бұрын
It's Gradianto Midnight Blue
@anotherOne12342
@anotherOne12342 3 ай бұрын
@@ProgrammingTechie thanks!
@ishaanbhalodia7094
@ishaanbhalodia7094 Ай бұрын
I am getting an error when you run the application for the first time around 5:44, stating "Detected failed migration to version 1 (init). Any suggestions?
@danielsundersingh1
@danielsundersingh1 Ай бұрын
It could be due to a failed flyway migration. Just delete the latest entry from the flyway_schema_history table and run again.
@aziztolearn
@aziztolearn 3 ай бұрын
Can you share github link?
@chanaky0925
@chanaky0925 3 ай бұрын
The container name "/mysql" is already in use by container
@IyadHiraki-tz9nr
@IyadHiraki-tz9nr 2 ай бұрын
You have to change the container_name variable in the Docker Compose file to, for example, container_name: mysql1."
@baronnashor9765
@baronnashor9765 7 күн бұрын
Watch next video (part 4) starting at 10:00, same problem occurs there
@manjunathasathyanarayana1508
@manjunathasathyanarayana1508 4 ай бұрын
Hi @ProgrammingTechie Greetings One Question on Integration Test In most of the projects docker will be running on remote CICD server. not available on Local machine. is it possibelto connect to remote docker host through configs in test cases or should we rely write test first and rely on cicd pipelines for execution.
@ProgrammingTechie
@ProgrammingTechie 4 ай бұрын
Hi, Yes you can use remote docker instance to run the test container tests. Test containers also provides a cloud offering where it provides a remote docker host to run the tests. datmt.com/backend/configure-testcontainers-to-use-remote-docker-hosts/
@ayusharyan2165
@ayusharyan2165 4 ай бұрын
Resolved..
@rishiraj2548
@rishiraj2548 4 ай бұрын
🙂🙏
Which Go Framework is the best?
6:53
Ben Davis
Рет қаралды 25 М.
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 60 МЛН
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 49 МЛН
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 18 МЛН
Spring Boot Microservices Tutorial - Part 2 - Order Service
27:24
Programming Techie
Рет қаралды 8 М.
Spring Boot APIs Gateway in 20 Minutes
22:50
The IT Wizard
Рет қаралды 10 М.
Microservices Explained in 5 Minutes
5:17
5 Minutes or Less
Рет қаралды 730 М.
Microservices using SpringBoot 3.0 | Full Example [NEW]
1:25:38
Daily Code Buffer
Рет қаралды 179 М.
Microservices using SpringBoot | Full Example
1:21:39
Daily Code Buffer
Рет қаралды 1 МЛН
Reactive Programming with Spring Boot | A Beginner's Guide
40:31
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 60 МЛН