Name: step-functions-ruby-activity-worker
Owner: AWS Samples
Description: The code contains a example implementation of Step Functions activity worker written in Ruby
Created: 2018-01-23 20:31:56.0
Updated: 2018-01-24 22:20:50.0
Pushed: 2018-01-24 22:16:53.0
Homepage: null
Size: 12
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The code contains a example implementation of Step Functions activity worker written in Ruby.
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.
install aws-sdk
Install AWS CLI and run:
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_activity.rb
This library is licensed under the Apache 2.0 License.