{"id":23093828,"url":"https://github.com/sylvioneto/pubsub_consumer","last_synced_at":"2025-10-28T17:04:25.482Z","repository":{"id":107912677,"uuid":"312834061","full_name":"sylvioneto/pubsub_consumer","owner":"sylvioneto","description":"Process payment audit logs with Cloud Functions","archived":false,"fork":false,"pushed_at":"2020-11-14T21:05:09.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-04T18:38:01.304Z","etag":null,"topics":["bucket","cloudfunctions","gcp","gcs","go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/sylvioneto.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}},"created_at":"2020-11-14T14:33:31.000Z","updated_at":"2024-06-19T09:11:30.853Z","dependencies_parsed_at":null,"dependency_job_id":"5a9a8944-5d6b-4529-bdf6-5643395049bc","html_url":"https://github.com/sylvioneto/pubsub_consumer","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylvioneto%2Fpubsub_consumer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylvioneto%2Fpubsub_consumer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylvioneto%2Fpubsub_consumer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sylvioneto%2Fpubsub_consumer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sylvioneto","download_url":"https://codeload.github.com/sylvioneto/pubsub_consumer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247061784,"owners_count":20877169,"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":["bucket","cloudfunctions","gcp","gcs","go"],"created_at":"2024-12-16T21:54:09.620Z","updated_at":"2025-10-28T17:04:25.405Z","avatar_url":"https://github.com/sylvioneto.png","language":"Go","readme":"# Pubsub consumer with Cloud Function\nThis Cloud Function receives push messages from the PubSub topic `payment-audit-log`.\nIt validates the message format, schema, then store valid messages in a GCS bucket for further processing with analytics tools.\n\n## Deploy\n```shell\n$ gcloud functions deploy PaymentAuditLog \\\n--entry-point ProcessLog --runtime go113 \\\n--trigger-topic payment-audit-log --set-env-vars BUCKET=\u003cBUCKET_NAME\u003e\n```\n\n## Environment Variables\n- BUCKET: The bucket where valid messages must be stored for further processing.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsylvioneto%2Fpubsub_consumer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsylvioneto%2Fpubsub_consumer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsylvioneto%2Fpubsub_consumer/lists"}