- Standalone SQS-service repository - Multi-tenant message queue service, AWS SQS compatible - Based on GoAws, with mutable tenants, auth, WebUI, Redis persistence - Ready for independent development and deployment - See doc/ and README.md for architecture and usage
45 lines
2.2 KiB
YAML
Executable File
45 lines
2.2 KiB
YAML
Executable File
Local: # Environment name that can be passed on the command line
|
|
# (i.e.: ./goaws [Local | Dev] -- defaults to 'Local')
|
|
Host: goaws.com # hostname of the goaws system (for docker-compose this is the tag name of the container)
|
|
# you can now use either 1 port for both sns and sqs or alternatively you can comment out Port and use SqsPort + SnsPort for compatibilyt with
|
|
# yopa and (fage-sns + face-sqs). If both ways are in the config file on the one "Port" will be used by GoAws
|
|
Port: 4100 # port to listen on.
|
|
# SqsPort: 9324 # alterante Sqs Port
|
|
# SnsPort: 9292 # alternate Sns Port
|
|
Region: us-east-1
|
|
AccountId: "100010001000"
|
|
LogToFile: false # Log messages (true/false)
|
|
LogFile: .st/goaws_messages.log # Log filename (for message logging
|
|
EnableDuplicates: false # Enable or not deduplication based on messageDeduplicationId
|
|
QueueAttributeDefaults: # default attributes for all queues
|
|
VisibilityTimeout: 30 # message visibility timeout
|
|
ReceiveMessageWaitTimeSeconds: 0 # receive message max wait time
|
|
MaximumMessageSize: 262144 # maximum message size (bytes)
|
|
# MessageRetentionPeriod: 445600 # time period to retain messages (seconds) NOTE: Functionality not implemented
|
|
Queues: [] # No default queues — created via Admin API / AWS CLI by tenants
|
|
Topics: [] # No default topics
|
|
RandomLatency: # Parameters for introducing random latency into message queuing
|
|
Min: 0 # Desired latency in milliseconds, if min and max are zero, no latency will be applied.
|
|
Max: 0 # Desired latency in milliseconds
|
|
|
|
Dev: # Another environment
|
|
Host: localhost
|
|
Port: 4100
|
|
# SqsPort: 9324
|
|
# SnsPort: 9292
|
|
AccountId: "794373491471"
|
|
LogToFile: false
|
|
LogFile: ./goaws_messages.log
|
|
Queues:
|
|
- Name: dev-queue1
|
|
- Name: dev-queue2
|
|
Topics:
|
|
- Name: dev-topic1
|
|
Subscriptions:
|
|
- QueueName: dev-queue3
|
|
Raw: false
|
|
- QueueName: dev-queue4
|
|
Raw: true
|
|
- Name: dev-topic2
|
|
|