{"id":18759009,"url":"https://github.com/tattdcodemonkey/genstage_sqs_example","last_synced_at":"2025-04-13T02:25:28.329Z","repository":{"id":81010049,"uuid":"81895279","full_name":"TattdCodeMonkey/genstage_sqs_example","owner":"TattdCodeMonkey","description":"Example GenStage producer for AWS Simple Queue Service","archived":false,"fork":false,"pushed_at":"2018-02-08T16:54:22.000Z","size":9,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-10T06:07:07.855Z","etag":null,"topics":["aws","elixir","genstage","sqs"],"latest_commit_sha":null,"homepage":"http://www.tattdcodemonkey.com/blog/2017/2/1/sqs-genstage","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TattdCodeMonkey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-02-14T02:27:51.000Z","updated_at":"2024-03-04T02:56:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"56b22f1f-e29f-4519-8bee-cd29632de857","html_url":"https://github.com/TattdCodeMonkey/genstage_sqs_example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TattdCodeMonkey%2Fgenstage_sqs_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TattdCodeMonkey%2Fgenstage_sqs_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TattdCodeMonkey%2Fgenstage_sqs_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TattdCodeMonkey%2Fgenstage_sqs_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TattdCodeMonkey","download_url":"https://codeload.github.com/TattdCodeMonkey/genstage_sqs_example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248655189,"owners_count":21140439,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","elixir","genstage","sqs"],"created_at":"2024-11-07T17:48:46.604Z","updated_at":"2025-04-13T02:25:28.320Z","avatar_url":"https://github.com/TattdCodeMonkey.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GenstageSqs\n\nThis is a simple example of using AWS Simple Queue Service (SQS) as the source for a `GenStage` producer. This elixir app creates 2 producers and 4 consumers, reads messages from the queue and then deletes them. It is a very simple and generic example used only to test the functionality of the producer.\n\nYou can read about this in my blog post [Writing a GenStage producer for AWS SQS](http://www.tattdcodemonkey.com/blog/2017/2/1/sqs-genstage)\n\n\n## Testing\n\nTo run this example you will need to set the AWS keys as env variables in the command line or add them to the `config/config.exs` instead of the system envs. See ExAws docs for options for configuration.\n\n1. Run `AWS_ACCESS_KEY_ID=your_access_key AWS_SECRET_ACCESS_KEY=your_secret_key iex -S mix`\n2. Enter `iex(1)\u003e GenstageSqs.create_messages(10)`\n\nThis will cause the producers to start pulling messages from SQS and sending them to the consumers. You can add more of each (producers \u0026 consumers) to process more messages or create less to process less messages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattdcodemonkey%2Fgenstage_sqs_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftattdcodemonkey%2Fgenstage_sqs_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattdcodemonkey%2Fgenstage_sqs_example/lists"}