Quartz with Spring Boot using Docker and PostgreSQL

preview_player
Показать описание
In this video you will learn about Quartz Job Scheduler. I will also quickly spin up a PostgreSQL database using Docker and use Flyway to create the database tables needed for Quartz to run properly.

Source Code:

Java Spring Flyway using Docker, PostgreSQL, and DBeaver in 15 Minutes:

Quickstart Docker, PostgreSQL, and DBeaver:

Docker PostgreSQL Image:

Flyway SQL Based Migrations:

Docker Installation

Windows Installation and Hyper-V (Virtualization) Details

#programming #java #quartz
Рекомендации по теме
Комментарии
Автор

Really helpful video, thanks! How much harder would it be to run this within a K8 cluster? I would like to demo quartz in clustered Springboot environment sharing a PostgreSQL instance. Would make a great sequel to this vid!

matt
Автор

i am trying to do a delay trigger based on certain logic but job and triggers are not going to my postgres DB. Also, if server gets re-deployed, triggers are getting lost. How can this be fixed?? LEtme know if any specific details you need for debugging. Thanks.

Ruhvikakhandelwal
Автор

great work but a. bit vconfused, how do I execute a task with this implementation. e.g want to execute an email job with this implementation. is this possible? if yes how?

adeleyejeremiah
Автор

Thanks for the video! Why do we want to use posgres in docker?

dolphinmoto
Автор

do we need seperate scripts for postgresql, MySQL etc for quartz scheduler...for example, Is it possible for table quartz_job_detail having column is-durable in MySQL and postgresql having datatype is varchar(1). Or is it mandatory that postgresql is_durable column in quartzjob detail should be Boolean?

MomsDailyCorner
Автор

I was searching for something like this, of course, I have to check how it would work in a K8s cluster so the Scheduler is not starting the Job on 2 servers.

When I understand the code right, you have to implement a job (like your Action), of course there are possibilities to make generic jobs, but putting new jobs classes in, that would be hard because you would have to deploy it, there is no plugin managment possible. A small price to pay though.

Spelter
Автор

Where do you get the I can't import it.

leahdorinbentovim
Автор

can I pull quartz image ? I am doing POC on quartz for my project

dawn
visit shbcf.ru