Closed
Description
openedon Sep 12, 2018
Shoryuken is a Ruby worker for Amazon SQS.
It has middleware based on Sidekiq, with a slightly different signature:
class MyMiddleware
def call(worker_instance, queue, sqs_msg, body)
puts 'Before work'
yield
puts 'After work'
end
end
An important thing to note is that Shoryuken can be run in a batch mode, in which case sqs_msg
and body
will be arrays, see this test for an example.
It uses the AWS SQS API underneath, which is already partially tracked by ddtrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment