@hackage sqsd-local0.2.0
Initial project template from stack
Categories
License
MPL-2.0
Maintainer
oskar.wickstrom@gmail.com
Links
Versions
Installation
Dependencies (0)
- amazonka
- amazonka-sqs
- base >=4.7 && <5
- bytestring >=0.10.8.1
- case-insensitive >=1.2.0.7
- exceptions >=0.8.3 Show all…
Dependents (1)
@hackage/acme-everything
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-pathon yourPATH
Install from Hackage:
stack install sqsd-local
Install from source:
git clone git@github.com:owickstrom/sqsd-local.git
cd sqsd-local
stack setup
stack install