Amazon SNS -> SQS message body

扶醉桌前 提交于 2019-12-03 13:06:27

SNS recently rolled out a feature that allows you to set 'raw message delivery' on an SNS topic.

http://docs.aws.amazon.com/sns/latest/dg/large-payload-raw-message.html

SNS limits the message size to 8KB, so there's no way to go around this problem using this service.

You could just send your message directly to SQS queue, where the limit is 64KB.

If your issue is the speed of reception of the messages you put in the queue, you could use SNS to notify the client it's time to make a request to SQS for messages to receive.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!