{"id":16323736,"url":"https://github.com/shavo007/sqs-lambda-worker-demo","last_synced_at":"2026-01-30T21:38:01.020Z","repository":{"id":39108613,"uuid":"139329211","full_name":"shavo007/sqs-lambda-worker-demo","owner":"shavo007","description":"showcase new event source sqs for aws lambda","archived":false,"fork":false,"pushed_at":"2026-01-19T17:32:59.000Z","size":588,"stargazers_count":2,"open_issues_count":17,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-19T23:32:13.723Z","etag":null,"topics":["aws","lambda","nodejs","serverless","sqs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shavo007.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-07-01T12:57:55.000Z","updated_at":"2020-12-30T03:11:32.000Z","dependencies_parsed_at":"2024-02-19T22:49:40.656Z","dependency_job_id":"7035696b-a125-4727-9b93-ad2be528249b","html_url":"https://github.com/shavo007/sqs-lambda-worker-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shavo007/sqs-lambda-worker-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Fsqs-lambda-worker-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Fsqs-lambda-worker-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Fsqs-lambda-worker-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Fsqs-lambda-worker-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shavo007","download_url":"https://codeload.github.com/shavo007/sqs-lambda-worker-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shavo007%2Fsqs-lambda-worker-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28919752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T20:25:28.696Z","status":"ssl_error","status_checked_at":"2026-01-30T20:25:13.426Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","lambda","nodejs","serverless","sqs"],"created_at":"2024-10-10T22:55:32.474Z","updated_at":"2026-01-30T21:38:01.003Z","avatar_url":"https://github.com/shavo007.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sqs-lambda-worker-demo\n\n\u003e Test drive sqs integration with aws lambda\n\nThis demo repo uses boilerplate project from [Serverless Node.js Starter](https://github.com/shavo007/serverless-nodejs-starter)\n\n## Install\n\n-   Node\n\n-   Yarn\n\n1.  `curl -o- -L https://yarnpkg.com/install.sh | bash`\n2.  `yarn bash completion` - https://github.com/dsifford/yarn-completion\n\n-   Terraform\n\n`brew install terraform`\n\n-   Serverless\n\n```bash\n# If you don't already have the serverless cli installed, do that\nyarn global add serverless\n\n# Install dependencies\nyarn\n```\n\n### Terraform (create sqs queue)\n\n```bash\n1.  Create sqs queue on aws account\n2.  cd terraform \u0026\u0026 terraform init\n3.  terraform plan\n4.  terraform apply\n```\n\n### Deploy\n\n1.  Create sqs queue via terraform above\n2.  Update the sqs queue url in src/producer.js file and the arn in serverless.yml\n\n3.  Assuming you've already set up your default AWS credentials\n\n`yarn deploy:dev` will deploy to \"dev\" environment.\n\n**UPDATE** change is now in the latest serverless release 1.28.0\n\nWill add your queue as the trigger for worker function\n\n## Run\n\nTrigger the producer fn via a test event.\n\nThe producer will generate random messages and send them to the queue.\nYou can send in up to 10 messages at a time based on the config `batch size`\n\n**Managing Throughput** with concurrency control\n\nThe consumer function can handle up to 5 concurrent executions currently. This config can be changed in the `serverless.yml` file\n\n### Renovate\n\n\u003e Automated Dependency Updates\n\nRenovate runs continuously to detect the latest available versions. And automagicaly creates PR on your github project with changelog and release notes.\n\nFor more info and how to authorise the github app check out [onboarding guide](https://renovateapp.com/docs/getting-started/configure-renovate)\n\n## Resources\n\nhttps://aws.amazon.com/blogs/aws/aws-lambda-adds-amazon-simple-queue-service-to-supported-event-sources/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshavo007%2Fsqs-lambda-worker-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshavo007%2Fsqs-lambda-worker-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshavo007%2Fsqs-lambda-worker-demo/lists"}