Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add timeout to ActivateJobs request #325

Merged
merged 37 commits into from
Sep 26, 2024

Conversation

EyalCMX
Copy link
Contributor

@EyalCMX EyalCMX commented Aug 25, 2022

add timeout to ActivateJobs request
handle ZeebeDeadlineExceeded exception

Changes

  • timeout to ActivateJobs request
  • handle ZeebeDeadlineExceeded exception

API Updates

New Features (required)

None

Deprecations (required)

None

Enhancements (optional)

fixing the issue describe below:
when using Camunda cloud zeebe, polling requests for activateJobs can stuck forever,
which leads to inability to consume more tasks

Checklist

  • Unit tests
  • Documentation

References

Fixes #324

@CLAassistant
Copy link

CLAassistant commented Aug 25, 2022

CLA assistant check
All committers have signed the CLA.

@JonatanMartens
Copy link
Collaborator

Hey @EyalCMX, looks good.

Please rebase from master so that tests can run and we can merge

Copy link

@liorcmx liorcmx left a comment

Choose a reason for hiding this comment

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

looks good

@EyalCMX
Copy link
Contributor Author

EyalCMX commented Nov 14, 2022

Hey @EyalCMX, looks good.

Please rebase from master so that tests can run and we can merge

@JonatanMartens done please approve!

@coveralls
Copy link

coveralls commented Nov 14, 2022

Pull Request Test Coverage Report for Build 11057437142

Details

  • 6 of 8 (75.0%) changed or added relevant lines in 4 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.08%) to 96.535%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pyzeebe/grpc_internals/zeebe_adapter_base.py 2 3 66.67%
pyzeebe/worker/job_poller.py 0 1 0.0%
Files with Coverage Reduction New Missed Lines %
pyzeebe/worker/job_poller.py 1 83.33%
Totals Coverage Status
Change from base Build 11056680193: -0.08%
Covered Lines: 1003
Relevant Lines: 1039

💛 - Coveralls

@JonatanMartens
Copy link
Collaborator

@EyalCMX the job for format checking fails.
Please format using black: poetry run black ., push the changes and I'll approve

@EyalCMX
Copy link
Contributor Author

EyalCMX commented Nov 15, 2022

@EyalCMX the job for format checking fails. Please format using black: poetry run black ., push the changes and I'll approve

@JonatanMartens done please approve!

@EyalCMX
Copy link
Contributor Author

EyalCMX commented Jan 12, 2023

@JonatanMartens can u approve it again please

@EyalCMX
Copy link
Contributor Author

EyalCMX commented Jan 25, 2023

@JonatanMartens can u merge it i dont have permission

@michaelarnauts
Copy link

@EyalCMX @JonatanMartens i'm waiting for this to be merged. Is there a more maintained zeebe python plugin available?

@EyalCMX
Copy link
Contributor Author

EyalCMX commented Jan 15, 2024

@michaelarnauts i dont think @JonatanMartens maintains this library... and i can't merge it

@xomiamoore
Copy link
Contributor

Hey there @michaelarnauts @EyalCMX -- we're looking for additional maintainers for this project. #381

@JonatanMartens
Copy link
Collaborator

Hey @EyalCMX, I'm very sorry for the delayed review

@EyalCMX
Copy link
Contributor Author

EyalCMX commented May 7, 2024

@JonatanMartens ?

pyzeebe/grpc_internals/zeebe_adapter_base.py Outdated Show resolved Hide resolved
pyzeebe/grpc_internals/zeebe_job_adapter.py Outdated Show resolved Hide resolved
pyzeebe/worker/job_poller.py Outdated Show resolved Hide resolved
@dimastbk dimastbk merged commit bed8bf6 into camunda-community-hub:master Sep 26, 2024
17 checks passed
@liorcmx
Copy link

liorcmx commented Sep 29, 2024

@EyalCMX , congrats!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

when using Camunda cloud zeebe, polling requests for activateJobs stuck forever
8 participants