{"id":25719996,"url":"https://github.com/gregwhitaker/sns-durable-example","last_synced_at":"2026-04-29T01:02:14.228Z","repository":{"id":82732649,"uuid":"62578684","full_name":"gregwhitaker/sns-durable-example","owner":"gregwhitaker","description":"Example of how to create durable subscriptions using AWS Simple Notification Service","archived":false,"fork":false,"pushed_at":"2017-03-14T22:54:12.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T10:09:42.399Z","etag":null,"topics":["aws","aws-sns","cloudformation","messaging","sns"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregwhitaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-07-04T17:34:30.000Z","updated_at":"2019-07-27T18:53:14.000Z","dependencies_parsed_at":"2023-11-10T12:18:52.153Z","dependency_job_id":null,"html_url":"https://github.com/gregwhitaker/sns-durable-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gregwhitaker/sns-durable-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fsns-durable-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fsns-durable-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fsns-durable-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fsns-durable-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregwhitaker","download_url":"https://codeload.github.com/gregwhitaker/sns-durable-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregwhitaker%2Fsns-durable-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32405903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: 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","aws-sns","cloudformation","messaging","sns"],"created_at":"2025-02-25T17:36:16.613Z","updated_at":"2026-04-29T01:02:14.206Z","avatar_url":"https://github.com/gregwhitaker.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sns-durable-example\n[![Build Status](https://travis-ci.org/gregwhitaker/sns-durable-example.svg?branch=master)](https://travis-ci.org/gregwhitaker/sns-durable-example)\n\nThis example shows you how to durably subscribe to messages from an AWS [Simple Notification Service](https://aws.amazon.com/sns/) topic.\n\nThe example creates an SNS topic that is consumed and stored by an SQS queue.  This allows the subscriber to read the events from SNS\noff of the SQS queue where they are durably stored.  The subscriber need not worry about message loss in the case of a disconnect \nbecause the SQS queue is storing the notifications.\n\n## Prerequisites\nThe example requires that you create an SNS topic and an SQS queue in your AWS account using the following CloudFormation template:\n\n* [Example Setup CloudFormation](https://github.com/gregwhitaker/sns-durable-example/blob/master/src/main/cloudformation/sns-durable-example.json)\n\n## Running the Example\nThe example can be run using the following gradle command:\n\n```\n$ ./gradlew run -DtopicArn={sns topic arn} -DqueueArn={sqs queue arn}\n```\n\n**NOTE:** The example is using the `DefaultAWSCredentialsProvider` so you can supply your AWS credentials using the `.aws/credentials` file, as system properties, or as environment variables.\n\n## License\nCopyright 2016 Greg Whitaker\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fsns-durable-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregwhitaker%2Fsns-durable-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregwhitaker%2Fsns-durable-example/lists"}