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

Shoryuken gem support #576

Merged
merged 12 commits into from
Jul 11, 2017
Merged

Shoryuken gem support #576

merged 12 commits into from
Jul 11, 2017

Conversation

xbugster
Copy link
Contributor

No description provided.

README.md Outdated
Read more about Shoryuken configuration @ https://github.com/phstc/shoryuken/wiki/Shoryuken-options

Also create the SQS channels equals to your environments, as follows:
The queues to report will be equal to ```rollbar_{CURRENT_ENVIROMNET}``` ex: if the project runs in staging environment the SQS to throw messages to will be equal to ```rollbar_staging```
Copy link
Contributor

@coryvirok coryvirok Mar 15, 2017

Choose a reason for hiding this comment

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

Small typo: CURRENT_ENVIROMNET -> CURRENT_ENVIRONMENT

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

README.md Outdated
ENV['AWS_SECRET_ACCESS_KEY'] = 'xxx'
ENV['AWS_REGION'] = 'xxx'
```
Read more about Shoryuken configuration @ https://github.com/phstc/shoryuken/wiki/Shoryuken-options
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you make this a clickable link such as:
[here](https://github.com/phstc/shoryuken/wiki/Shoryuken-option)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

rescue
# Raise the exception so Shoryuken can track the errored job
# and retry it
raise
Copy link
Contributor

Choose a reason for hiding this comment

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

@xbugster is this re-raise needed? Maybe it could be:

def perform(_sqs_message, payload)
  Rollbar.process_from_async_handler(payload)
end

As the rescue is only re-raising it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed rescue-rise. thnx.

@phstc
Copy link
Contributor

phstc commented Apr 19, 2017

Nice! This is for using Shoryuken as backend queue, not for error handling, like this, right?

@coryvirok
Copy link
Contributor

@xbugster looks like there are some failing tests in Travis. Can you take a look?

@xbugster
Copy link
Contributor Author

xbugster commented Jun 8, 2017

@coryvirok @phstc 10q Cory, Fixed everything. climate & travis.
10q Pablo for great job on Shoryuken!

@coryvirok
Copy link
Contributor

Great! Thanks for cleaning things up.

@phstc
Copy link
Contributor

phstc commented Jun 12, 2017

As a follow up feature-request (separate PR) would be a cool to have a Shoryuken plugin, like in
Airbrake and Honeybadger.

@phstc
Copy link
Contributor

phstc commented Jul 9, 2017

Hi @coryvirok

Any ETA for this? I would like to start using it without have to reference the git ref in the Gemfile.

@xbugster
Copy link
Contributor Author

Our company would also like start using it out of the box.

@rokob
Copy link
Contributor

rokob commented Jul 11, 2017

Everything LGTM

@rokob rokob merged commit 2d99d2d into rollbar:master Jul 11, 2017
@xbugster xbugster deleted the Shoryuken-gem-support branch July 11, 2017 10:58
@xbugster xbugster restored the Shoryuken-gem-support branch July 11, 2017 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants