Giter Site home page Giter Site logo

sebastiaanklippert / aws-beanstalk-sqs-daemon Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 264 KB

AWS Elastic Beanstalk SQS Daemon simulator

License: MIT License

Go 100.00%
golang aws aws-sqs aws-elastic-beanstalk http-requests sqs-queue sqs-poller

aws-beanstalk-sqs-daemon's Introduction

Go Report Card

aws-beanstalk-sqs-daemon

AWS Elastic Beanstalk SQS Daemon simulator.

This program simulates the SQS deamon which sends the queue messages to a HTTP endpoint as described in https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features-managing-env-tiers.html

aeb-messageflow-worker.png

Credentials

Setup your AWS credentials and region using environment variables. See https://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html

Commandline flags

Required flags are sqs-url or sqs-create-queue, but both can also be set using evironment variables SQS_URL or SQS_CREATE_QUEUE

Usage of aws_beanstalk_sqs_daemon.exe:
  -connections uint
    	The maximum number of concurrent connections that the daemon can make to the HTTP endpoint. (default 50)
  -sqs-create-queue string
    	Creates a queue with this name (use '[hostname]' as replacer for the local host name), subscribes it to the SNS topics listed in subscribe-to-sns-arns and then uses this queue to receive messages. Use this or sqs-url.
  -http-timeout uint
    	Timeout in seconds to wait for HTTP requests. (default 30)
  -http-url string
    	The URL to the application that will receive the data from the Amazon SQS queue. The data is inserted into the message body of an HTTP POST message. (default "http://localhost:9900/sqs")
  -mime-type string
    	 Indicate the MIME type that the HTTP POST message uses. (default "application/json")
  -sqs-url string
    	The URL of the Amazon SQS queue from which messages are received. Use this or create-queue.
  -subscribe-to-sns-arns string
    	Comma separated list of SNS topic ARNs to subscribe the created queue to (for existing queues no new subscriptions will be added).
  -v	Log all the things.
  -visibility-timeout  uint
    	Indicate the amount of time, in seconds, an incoming message from the Amazon SQS queue is locked for processing. After the configured amount of time has passed, the message is again made visible in the queue for another daemon to read. (default 60)

aws-beanstalk-sqs-daemon's People

Contributors

sebastiaanklippert avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.