Admiral-Piett / goaws

AWS (SQS/SNS) Clone for Development testing
MIT License
770 stars 145 forks source link

sqs: allow redrive-policy to be set from config yaml #235

Closed sebcante closed 3 years ago

sebcante commented 3 years ago

Allow to set queue RedrivePolicy in config.yml

    - Name: local-queue3                # Queue name
      RedrivePolicy: '{"maxReceiveCount": 100, "deadLetterTargetArn":"arn:aws:sqs:us-east-1:000000000000:local-queue3-dlq"}'  
    - Name: local-queue3-dlq  
sebcante commented 3 years ago

😮 i just realised (late) that @pswaminathan did a similar PR #192 about it. I am happy with either implementation.

@p4tin what do you you think, would love to have that feature merged as it helps us a lot doing integration testing with Dead Letter queues