Reliable Background Jobs in Java with JobRunr – Ronald Dehuysser | IntelliJ IDEA Tech Talks


In this episode of IntelliJ IDEA Tech Talks, I talk to Ronald Dehuysser about JobRunr.

Description

What happens when your invoices end up on a dead letter queue? If you’re Ronald Dehuysser, you build an open source library to make sure it never happens again.

In this episode, Ronald, creator of JobRunr, joins us to talk about running background jobs in Java. He shows how to set up JobRunr with Spring Boot, enqueue and schedule jobs, and keep an eye on them in the built-in dashboard. And he explains why he loves exceptions. (Yes, really.)

We also cover carbon-aware job scheduling, recurring jobs (and why nobody likes writing cron expressions), whether you need Kafka, and the time-traveling bug that took years to track down.

Chapters

  • 0:00 Intro: What is JobRunr?
  • 1:22 Why JobRunr exists
  • 4:27 Real-world use cases
  • 7:34 Demo: JobRunr with Spring Boot
  • 18:25 Do you need Kafka?
  • 19:45 “I love exceptions”: retries and logpoints
  • 27:58 Scheduling and carbon-aware jobs
  • 38:13 Recurring jobs, cron, and time zones
  • 43:07 MCP server, scaling, and deployment
  • 48:27 Durable execution and the time-traveling bug

Links

Other episodes

Unit Test Your Java Architecture With ArchUnit – Roland Weisleder | IntelliJ IDEA Tech Talks

In this episode of IntelliJ IDEA Tech Talks, I speak with Roland Weisleder about ArchUnit, a way to enforce your architecture through unit tests.

Description

Are your architecture and code drifting apart? Is the implementation of non-functional requirements and cross-cutting concerns often forgotten? Do you have too much spaghetti code due to circular dependencies? These things happen far too often and will quickly lead to an unmaintainable code base. In the Java ecosystem, the library ArchUnit can help in this situation. In this episode we will look at how we can use ArchUnit to test our architecture within unit tests and finally get structure back into the system. You can use ArchUnit to enforce architecture rules and practices for anyone working on your codebase, including agents.

Chapters

  • 00:00:00 – Intro
  • 00:02:39 – What is ArchUnit?
  • 00:04:32 – Adding ArchUnit to a project in IntelliJ IDEA
  • 00:06:47 – Enforcing naming conventions
  • 00:13:27 – Testing dependencies between modules
  • 00:15:57 – Catching circular dependencies
  • 00:21:16 – Technical dependencies, for example: layered architecture rules 00:24:21 – Introducing ArchUnit into a legacy codebase
  • 00:30:30 – Freezing existing violations
  • 00:35:17 – Using predefined rules
  • 00:38:06 – Sharing rules across multiple projects
  • 00:40:51 – Is ArchUnit still relevant with AI agents?

Links

Other episodes

What’s New In IntelliJ IDEA 2026.1

In this video, Marco Behler, Anton Arhipov, Siva Prasad Reddy K and I show you what’s new in the IntelliJ IDEA 2026.1 release.

Chapters

  • 00:00 Intro
  • 00:43 AI updates
  • 11:00 Support for JavaScript and TypeScript without an Ultimate subscription
  • 14:00 Java 26 support
  • 18:18 Command completion updates and tips & tricks
  • 24:00 Debugger improvements
  • 26:25 Git worktrees
  • 30:50 Spring Data improvements
  • 34:47 Spring Debugger
  • 42:07 Better Kotlin Spring Routing DSL & Bean Registrar support
  • 47:54 Improvements for Kotlin development with JPA
  • 53:34 New Kotlin language features
  • 58:34 Gradle best practicies
  • 1:02:04 Streamlined Kubernetes workflows

Links

AI

Unified distro: JavaScript/TypeScript

Java 26

Spring data improvements

Spring debugger improvements

Kotlin

Gradle best practices