P2.7: убрать SNS-следы (Topics/Subscriptions) из goaws.yaml
Модели Environment уже не содержат Topics/SnsPort (форк вычистил SNS), но yaml хранил легаси Topics и SNS-комментарии. Оставлен только SQS-конфиг.
This commit is contained in:
@@ -1,11 +1,7 @@
|
|||||||
Local: # Environment name that can be passed on the command line
|
Local: # Environment name that can be passed on the command line
|
||||||
# (i.e.: ./goaws [Local | Dev] -- defaults to 'Local')
|
# (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)
|
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.
|
Port: 4100 # port to listen on.
|
||||||
# SqsPort: 9324 # alterante Sqs Port
|
|
||||||
# SnsPort: 9292 # alternate Sns Port
|
|
||||||
Region: us-east-1
|
Region: us-east-1
|
||||||
AccountId: "100010001000"
|
AccountId: "100010001000"
|
||||||
LogToFile: false # Log messages (true/false)
|
LogToFile: false # Log messages (true/false)
|
||||||
@@ -17,7 +13,6 @@ Local: # Environment name that can be passed on the
|
|||||||
MaximumMessageSize: 262144 # maximum message size (bytes)
|
MaximumMessageSize: 262144 # maximum message size (bytes)
|
||||||
# MessageRetentionPeriod: 445600 # time period to retain messages (seconds) NOTE: Functionality not implemented
|
# MessageRetentionPeriod: 445600 # time period to retain messages (seconds) NOTE: Functionality not implemented
|
||||||
Queues: [] # No default queues — created via Admin API / AWS CLI by tenants
|
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
|
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.
|
Min: 0 # Desired latency in milliseconds, if min and max are zero, no latency will be applied.
|
||||||
Max: 0 # Desired latency in milliseconds
|
Max: 0 # Desired latency in milliseconds
|
||||||
@@ -25,20 +20,10 @@ Local: # Environment name that can be passed on the
|
|||||||
Dev: # Another environment
|
Dev: # Another environment
|
||||||
Host: localhost
|
Host: localhost
|
||||||
Port: 4100
|
Port: 4100
|
||||||
# SqsPort: 9324
|
|
||||||
# SnsPort: 9292
|
|
||||||
AccountId: "794373491471"
|
AccountId: "794373491471"
|
||||||
LogToFile: false
|
LogToFile: false
|
||||||
LogFile: ./goaws_messages.log
|
LogFile: ./goaws_messages.log
|
||||||
Queues:
|
Queues:
|
||||||
- Name: dev-queue1
|
- Name: dev-queue1
|
||||||
- Name: dev-queue2
|
- Name: dev-queue2
|
||||||
Topics:
|
|
||||||
- Name: dev-topic1
|
|
||||||
Subscriptions:
|
|
||||||
- QueueName: dev-queue3
|
|
||||||
Raw: false
|
|
||||||
- QueueName: dev-queue4
|
|
||||||
Raw: true
|
|
||||||
- Name: dev-topic2
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user