Routing messages from Amazon SNS to SQS with filtering

后端 未结 2 893
南笙
南笙 2021-02-07 11:03

In RabbitMQ, one can create an exchange, then bind it to multiple queues, each with a routing key. This enables messaging architectures like this:

           mes         


        
2条回答
  •  温柔的废话
    2021-02-07 11:24

    EDIT

    I cannot delete an accepted answer, so see the answer below for the now correct answer since this feature has been released.

    Original (now incorrect) Answer (for posterity):

    No it's not possible. Would be a great feature for them to add though.

    The only alternative I know is to create a topic for each routing rule and then publish to the correct topic. It's not pretty, but it accomplishes the task. If you have a lot of rules, you might need more than the 3000 topics they allow. You can request an increase in topic limit from AWS on their website by following the instructions here http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ses_quota.

提交回复
热议问题