This is a demo project to show a problem with Jobrunr.
- Start the application
./gradlew bootRun
- Call normal endpoint
curl http://localhost:8080/jobs/enqueue/normal
- Call endpoint with problem
curl http://localhost:8080/jobs/enqueue/bug
- Check the logs
# For normal endpoint should see
having fun with 1, 2
# For problem endpoint should see
java.lang.NullPointerException: You are passing null as a parameter to your background job for type long - JobRunr prevents this to fail fast.