Skip to content

feat(feel): added backoff FEEL function for exponential backoff with jitter#7003

Open
azan-baloch wants to merge 4 commits intocamunda:mainfrom
azan-baloch:backoff-fn
Open

feat(feel): added backoff FEEL function for exponential backoff with jitter#7003
azan-baloch wants to merge 4 commits intocamunda:mainfrom
azan-baloch:backoff-fn

Conversation

@azan-baloch
Copy link
Copy Markdown
Contributor

Description

added backoff feel function for computing exponential backoff with jitter.
Tested with REST connector and get expected result(increasing delay),
51ms → 76ms → 130ms → 197ms → 343ms

Here's screenshot of logs
backoff-logs

SS of feel expression
backoff-feelpng

Related issues

closes #6710

Checklist

  • Backport labels are added if these code changes should be backported. No backport label is added to the latest
    release, as this branch will be rebased onto main before the next release. Example backport labels:
    • backport stable/8.8: for changes that should be included in the next 8.8.x release.
    • or backport release-8.8.7: for changes that should be included in the specific release 8.8.7, and this
      release has already been created. The release branch will be merged back into stable/8.8 later, so the change
      will be included in future 8.8.x releases as well.
  • Tests/Integration tests for the changes have been added if applicable.
  • If the change requires a documentation update, it has been added to the appropriate section in the documentation.

@azan-baloch azan-baloch requested a review from a team as a code owner April 20, 2026 23:50
@azan-baloch
Copy link
Copy Markdown
Contributor Author

Moved each function into its own class under function subpackage and also created shared helper class FunctionHelper. Let me know if anything needs changes.

@azan-baloch azan-baloch requested a review from johnBgood April 22, 2026 19:25
Copy link
Copy Markdown
Collaborator

@johnBgood johnBgood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you again for your contribution 🥇

@johnBgood johnBgood added the qa:required Will trigger the QA workflow label Apr 27, 2026
@ztefanie
Copy link
Copy Markdown
Collaborator

I just pinged qa for testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

qa:required Will trigger the QA workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(feel): Add backoff() FEEL function for exponential backoff with jitter

4 participants