Description
Initial project template from stack.
Description
A local version of sqsd, the daemon that runs in Elastic Beanstalk's Worker Environments.
README.md
sqsd-local
A local version of sqsd
, the daemon that runs in Elastic Beanstalk's Worker Environments.
Usage
Usage: sqsd-local WORKER_QUEUE_NAME [options]
Options:
-h --help Print this help message
-V --version Print the CLI version
-u URL --worker-url=URL Specify the worker URL to send POST requests to (default: http://localhost:5000)
-d NAME --dead-letter-queue-name=NAME Name of the SQS queue to send messages to which the worker failed processing (no default)
-T NAME --http-timeout=NAME Timeout in seconds for the HTTP POST request to worker (default: 30)
-C MEDIA_TYPE --content-type=MEDIA_TYPE Content-Type header value to use in HTTP POST request to worker (default: application/octet-stream)
--sqs-host=MEDIA_TYPE SQS endpoint host (default: localhost)
--sqs-port=MEDIA_TYPE SQS endpoint port (default: 9324)
--forked If messages should be POSTed to the worker concurrently (default: false)
Install/Build
Requirements:
- Stack
- The
stack path --bin-path
on yourPATH
Install from Hackage:
stack install sqsd-local
Install from source:
git clone [email protected]:owickstrom/sqsd-local.git
cd sqsd-local
stack setup
stack install