cadence-java-client
cadence-java-client copied to clipboard
WorkerActivitiesPerSecond does not work
Describe the bug Setting workerActivitiesPerSecond via setWorkerActivitiesPerSecond() does not perform any rate limiting.
To Reproduce Is the issue reproducible?
- Yes
Steps to reproduce the behavior:
- Write and run a workflow with rate limited Activity worker via setWorkerActivitiesPerSecond()
- No rate limiting is performed at worker-level.
Expected behavior WorkerActivitiesPerSecond to work according to the documentation.
Screenshots N/A
Additional context N/A
Root cause: Took a quick look at Worker implementation. Seems like workerActivitiesPerSecond isn't used anywhere i.e. missing the implementation.
Will work on the missing implementation.