sns-sqs-big-payload
sns-sqs-big-payload copied to clipboard
Prefix the JSON file name
Hi, I want to prefix the JSON file with custom value.
` async sendJSON(message: unknown, options: SqsMessageOptions = {}, jsonprefix): Promise
if ((msgSize > this.messageSizeThreshold && this.largePayloadThoughS3) || this.allPayloadThoughS3) {
const payloadId = uuid();
const payloadKey = `${jsonprefix}${payloadId}.json`;`
Hi @justin-umesh This sounds like a good idea, are you willing to submit a pull request with the necessary changes?
Hi, I have created the PR. Please review. https://github.com/aspecto-io/sns-sqs-big-payload/pull/35