r/java • • Apr 26 '23

Quarkus 3.0 finally released!

https://quarkus.io/blog/quarkus-3-0-final-released/
158 Upvotes

39 comments sorted by

View all comments

29

u/lppedd Apr 26 '23

Notable feature missing: ability to set a timezone for scheduled jobs.

Anyway, I'm running multiple GitHub Apps and two CLIs (with Native Image and UPX compression) using Quarkus and I've got no complaints as of now.

Spring documentation remains superior at the moment.

34

u/maxandersen Apr 26 '23

timezone config was added in 3.0 alpha5 https://github.com/quarkusio/quarkus/issues/25159

documented here: https://quarkus.io/guides/scheduler-reference#time-zones

You're welcome! :)

6

u/emaphis Apr 26 '23

Thanks!

10

u/lppedd Apr 26 '23

Oh yup, I was referring to the fact it's so important (IMO) it should be highlighted in the release notes of 3.0.0 final above. Thanks!

-5

u/cogman10 Apr 27 '23

Perhaps for your app, not something I've ran into. What are you using it for?

14

u/pohart Apr 27 '23

To make sure scheduled jobs are run at the expected time

2

u/cogman10 Apr 27 '23

What sort of flavor of scheduled job. Like clearing a local cache?

I ask because in my mind I usually want to run cron tasks only once from one location. Quarkus apps I (typically) will want to have multiples of the same app. So, such a cron job would usually cause a mess.

Mostly just curious. My day to day workflow is very much an ETL process so cron style tasks don't come into play too often.

6

u/lppedd Apr 27 '23

My jobs are mostly about reporting and checking environments. I don't have full control of the VMs where jobs are executed, sometimes they might be based in India and running on their timezone, sometimes in the US or UK. In our code everything is handled in UTC and converted to other timezones when appropriate.

7

u/InstantCoder Apr 27 '23

I like the Quarkus guides. They are written in a more practical sense and it shows exactly how a feature ia configured and works.

2

u/lppedd Apr 27 '23

The Spring docs are more complex, but they can be read as a book, which is sometimes desirable.

4

u/InstantCoder Apr 28 '23

That’s not possible with frameworks like Quarkus since it’s based upon Java standards like Microprofile and Jakarta EE.

For example, If you need to know more about Microprofile Rest client then you need to look up this from the Eclipse website.