aws-marketplace-serverless-saas-integration
aws-marketplace-serverless-saas-integration copied to clipboard
Question on design for Marketplace metering
Very helpful repo, thank you. I had a question regarding the motivation behind the design of how metering records are submitted to Marketplace.
What is the motivation/reason for having the metering-hourly-job.js
function send records to a SQS queue, and having another function to read records from this queue and submit to Marketplace? Would it still work to have the metering-hourly-job.js
function both aggregate the records and submit to Marketplace and record the response in the table? Are there any downsides about using this approach?
Thank you.