Skip to content
This repository was archived by the owner on Aug 8, 2024. It is now read-only.

About

The code contains a example implementation of Step Functions activity worker written in Ruby

Resources

Code of conduct

Contributing

Security policy

Stars

10 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Step Functions Ruby Activity Worker

The code contains a example implementation of Step Functions activity worker written in Ruby.

Summary

This package defines the Step Functions reference activity worker implementation.

The code implements consumer-producer pattern with the configured number of threads for pollers and activity workers. The pollers threads are constantly long polling the activity task. Once a a activity task is retrieved it is being passing through bound blocking queue for the activity thread to pick it up.

Setting up the code

Install Ruby AWS SDK

gem install aws-sdk

Install AWS CLI and run:

aws configure

Setup your access key and secret key to your AWS IAM user.

Open bin/run_activity.rb script and configure the ACTIVITY_ARN and region.

Run:

bin/run_activity.rb

License

This library is licensed under the Apache 2.0 License.

About

The code contains a example implementation of Step Functions activity worker written in Ruby

Resources

Code of conduct

Contributing

Security policy

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages