Farfetch / kafkaflow-retry-extensions

Kafka Flow Retry Patterns Extensions
https://farfetch.github.io/kafkaflow-retry-extensions/
MIT License
55 stars 7 forks source link

[Bug Report]: Quartz jobs miss fired problem #129

Closed fernando-a-marins closed 1 year ago

fernando-a-marins commented 1 year ago

Prerequisites

Description

In a rebalance scenario, the triggers accumulate jobs and then fire several jobs one following the other.

In this case, we should only fire one job for each cron expression hit.

Proposed Solution:

Use on triggers configuration the policy WithMisfireHandlingInstructionDoNothing.

Steps to reproduce

Have several instances running the kafka flow retry extension Provoke several rebalances Have a job with considerable short cron expression

Expected behavior

In a rebalance scenario, the triggers should not accumulate jobs, just fire the job when the corn expression is hit again.

Actual behavior

In a rebalance scenario, the triggers accumulate jobs and then fire several jobs one following the other.

KafkaFlow Retry Extensions version

2.1.0

fernando-a-marins commented 1 year ago

Addressed in the release: https://github.com/Farfetch/kafkaflow-retry-extensions/releases/tag/2.1.1