{"id":21377857,"url":"https://github.com/eltorocorp/sfn-poller","last_synced_at":"2026-05-15T13:35:18.356Z","repository":{"id":57522122,"uuid":"134612491","full_name":"eltorocorp/sfn-poller","owner":"eltorocorp","description":"An API for setting microservice polling for against AWS SFN workflows.","archived":false,"fork":false,"pushed_at":"2018-06-10T07:11:51.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-27T20:55:10.949Z","etag":null,"topics":["aws","poller","quoteteam","sfn","stepfunction","stepfunctions"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/eltorocorp.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}},"created_at":"2018-05-23T18:49:38.000Z","updated_at":"2020-02-13T12:40:46.000Z","dependencies_parsed_at":"2022-08-26T20:24:14.796Z","dependency_job_id":null,"html_url":"https://github.com/eltorocorp/sfn-poller","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/eltorocorp/sfn-poller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltorocorp%2Fsfn-poller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltorocorp%2Fsfn-poller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltorocorp%2Fsfn-poller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltorocorp%2Fsfn-poller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eltorocorp","download_url":"https://codeload.github.com/eltorocorp/sfn-poller/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eltorocorp%2Fsfn-poller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33068685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"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","poller","quoteteam","sfn","stepfunction","stepfunctions"],"created_at":"2024-11-22T09:24:01.403Z","updated_at":"2026-05-15T13:35:18.324Z","avatar_url":"https://github.com/eltorocorp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sfn-poller\nAn API for setting up microservice polling against AWS SFN workflows.\n\n## example\nSetting up a service to poll a state machine for work.\n\n```go\nimport (\n\t\"context\"\n\n\t\"github.com/aws/aws-sdk-go/aws/client\"\n\t\"github.com/aws/aws-sdk-go/aws/session\"\n\t\"github.com/aws/aws-sdk-go/service/sfn\"\n\t\"github.com/eltorocorp/sfn-poller/sfnpoller\"\n\t\"github.com/eltorocorp/sfn-poller/sfnpoller/pollable\"\n        somemicroservice \"github.com/coolsoftwareprovider/somerepository\"\n)\n\nfunc main() {\n\tenv := environment.MustGetArgumentsFromEnvVars() // \u003c- basically some method that resolves environment variables into a struct\n\tsfnAPI := sfn.New(getSession())\n\tpoller := sfnpoller.\n\t\tNew().\n\t\tRegisterTask(pollable.NewTask(somemicroservice.Handle, env.ActivityARN, env.WorkerName, env.Timeout, sfnAPI)).\n\t\tBeginPolling(context.Background())\n\t\u003c-poller.Done()\n}\n\nfunc getSession() client.ConfigProvider {\n\treturn session.Must(session.NewSessionWithOptions(session.Options{\n\t\tSharedConfigState: session.SharedConfigEnable,\n\t}))\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feltorocorp%2Fsfn-poller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feltorocorp%2Fsfn-poller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feltorocorp%2Fsfn-poller/lists"}