Coder Social home page Coder Social logo

sqsd's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sqsd's Issues

NumberFormatException in sqsd.handleMessage

Not sure if this one is known. I receive a NumberformatException when I send a message to this queue:

Caught: java.lang.NumberFormatException: For input string: "1.49892744073e+12" java.lang.NumberFormatException: For input string: "1.49892744073e+12" at sqsd.handleMessage(sqsd.groovy:112) at sqsd.run(sqsd.groovy:75)

Not daemonizing when no messages

Hi,

I'm trying to run this as a docker container inside a Vagrant machine. I have it pointed at a queue on an instance of zily/docker-fake-sqs running locally. The container comes up and exits very quickly.

Docker logs has the following output:

Receiving messages from http://localhost:3000/orgle
Querying SQS for messages ...
Received Messages : 0
SQSD finished successfully!

I expected the container to stay up after initializing since sqsd doesn't shut down when there aren't any messages on the queue.

Would you be open to a PR to add the ability to run this daemonized?

Need help for install

Hi, i am starting a project including beanstalk workers and i was looking at solution for development to have the interaction between workers and sqs.

I tried to install your project but could not get it to work for now

# groovy -v
Groovy Version: 2.3.7 JVM: 1.7.0_75 Vendor: Oracle Corporation OS: Linux
# java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~deb7u1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

when i cd sqsd/src and groovy sqsd.groovy nothing happens, the cli just hang

I think this is related to the following line in sqsd.groovy:

@Grab(group='com.amazonaws', module='aws-java-sdk', version='1.9.6')

As i don't know much about java, any help would be appreciated

Thanks
Tom

AWS Region for Fake SQS

Hello,

I am using your sqsd in combination with adamw/elasticmq.
In order for this SQS Fake to work with sqsd, I need to set a fake region. In this case, I use elasticmq as the region.

As of this, I keep getting the following exception:

Caught: java.lang.IllegalArgumentException: Cannot create enum from elasticmq value!
java.lang.IllegalArgumentException: Cannot create enum from elasticmq value!
	at com.amazonaws.regions.Regions.fromName(Regions.java:73)
	at sqsd.run(sqsd.groovy:49)

If I take a real Region, it will not work with my queue URL, which is http://aws_sqs:9324/queue/worker.

Any Idea on how I can setup sqsd for this scenario?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.