CHALLENGE DETAIL

Papertrail Queue Logger

OVERVIEW

CODE

Develop a queue logger with Papertrail.

REQUIREMENTS

Create a REST endpoint that takes an email address and a short string. Push this text and email to an input queue for processing using RabbitMQ (preferred) or Resque. Return the success or failure of this operation to the calling client. The queue should then reverse the order of the letters in the email address, write it toPapertrail and then put it in another output queue. 
 
We’d prefer to see this in Java on Heroku, and for you to include a Java or .NET client that calls the REST endpoint.

Both Heroku and Cloud Foundry have support for RabbitMQ and resque. 
 
You can use the remote_syslog_logger gem for ruby or log4j logging for Java from Papertrail. If you have need help with Papertrail, feel free to jump on https://papertrailapp.com/chat as the developers are typically hanging out there.

SUBMISSION DETAILS

Upload all your source code as a zip (you can simply zip up your Eclipse project for convenience) and provide any documentation and/or instructions that are needed. Please be clear and concise with any setup instructions.
 
An SWF/Youtube video of your application is also required.

Your submission will be judged by a panel of peers based upon this criteria. If you would like to request an extension, please read Can challenge deadlines be extended for more time? on our FAQ. We do not want to grant extensions unless there is a valid reason.

ADDITIONAL INFO

Some sample Ruby code might be like:
 
b = Bunny.new(:user => 'fred', :pass => 'secret_password')
b.start
q = b.queue('logs')
logger = RemoteSyslogLogger.new('syslog.domain.com', 514, :program => "mysender")
 
while msg = q.pop
  logger.info(msg)
end

PARTICIPATION


DISCUSSION

RPranav
Should the text and short string be put in same queue or different queue? Is there any relationship to be maintained between email and short message?
RPranav, Mar 31, 2012 at 11:36 AM reply
michaelpress
Same queue - consider the text and email as one atomic unit of information.
michaelpress (admin), Mar 31, 2012 at 12:04 PM
RPranav
@michaelpress Thank you.
RPranav, Apr 01, 2012 at 04:24 AM reply
jyoti24614
Thank You.
jyoti24614, Apr 01, 2012 at 09:12 AM reply

The discussion board is closed for this challenge.



PARTICIPATION

19 members participating with 14 registered

TECHNOLOGIES

Cloud Foundry | Heroku | Java | Ruby

WINNER SELECTED

Ended Apr 06, 2012 at 5:00 AM
Winner Announced on April 18, 2012
View the challenge results
Give us your feedback about this challenge.

PRIZES

Total: $600
1st $350
2nd $250

SHARE

Chrome Extension

Install the CloudSpokes Chrome Extension for quick and easy access to the latest CloudSpokes challenges, your payments, leaderboards and more!