sns icon indicating copy to clipboard operation
sns copied to clipboard

RawMessageDelivery support

Open eugenekuchera opened this issue 8 years ago • 2 comments

Hi. Would be nice to support RawMessageDelivery for subscriptions. http://docs.aws.amazon.com/sns/latest/dg/large-payload-raw-message.html Any plans for this? Thanks.

eugenekuchera avatar Nov 24 '17 19:11 eugenekuchera

Saw this was still open - I can confirm you can enable it by setting the subscription config to have the RawMessageDelivery attribute to true.

{
  "version": 1,
  "timestamp": 1465414804110,
  "subscriptions": [
    {
      "arn": "e9126059-9eab-4b37-8194-e0d64dfb2045",
      "topicArn": "arn:aws:sns:ap-southeast-2:1234567890123:device-telemetries",
      "endpoint": "aws-sqs://telemetries-post-processing?amazonSQSEndpoint=http://fakesqs:9324&accessKey=&secretKey=",
      "owner": "",
      "protocol": "sqs",
      "subscriptionAttributes": {
        "RawMessageDelivery": "true"
      }
    }
  ],
  "topics": [
    {
      "arn": "arn:aws:sns:ap-southeast-2:1234567890123:device-telemetries",
      "name": "device-telemetries"
    }
  ]
}

Etherdaemon avatar Jan 28 '20 07:01 Etherdaemon

Hello and apologies for the self-advertisement, I've created local-sns as a reimplementation of this project, which includes RawMessageDelivery support. See https://github.com/jameskbride/local-sns/issues/21 for more details.

jameskbride avatar Dec 30 '23 22:12 jameskbride