{"id":19317843,"url":"https://github.com/queeniecplusplus/cloudpubsub","last_synced_at":"2026-01-30T10:41:37.537Z","repository":{"id":104588148,"uuid":"311182958","full_name":"QueenieCplusplus/CloudPubSub","owner":"QueenieCplusplus","description":"A cloud message subscriber for client","archived":false,"fork":false,"pushed_at":"2020-11-09T01:20:04.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T04:45:02.804Z","etag":null,"topics":["pubsub","pubsub-library","pubsub-messages","pubsub-subscriber","pubsubclient","subscriber-publisher"],"latest_commit_sha":null,"homepage":"https://github.com/QueenieCplusplus/QuickGoThru/blob/master/README.md#gcp-cloud-tech-part-3-in-2020","language":null,"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/QueenieCplusplus.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-09T00:25:38.000Z","updated_at":"2020-11-13T02:35:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"e492c789-ca66-46ad-b98d-0390f186b1cd","html_url":"https://github.com/QueenieCplusplus/CloudPubSub","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/QueenieCplusplus/CloudPubSub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCloudPubSub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCloudPubSub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCloudPubSub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCloudPubSub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QueenieCplusplus","download_url":"https://codeload.github.com/QueenieCplusplus/CloudPubSub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCloudPubSub/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260920181,"owners_count":23082928,"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":["pubsub","pubsub-library","pubsub-messages","pubsub-subscriber","pubsubclient","subscriber-publisher"],"created_at":"2024-11-10T01:16:25.817Z","updated_at":"2026-01-30T10:41:37.506Z","avatar_url":"https://github.com/QueenieCplusplus.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CloudPubSub\nA cloud message subscriber for client\n\nThe Google Cloud Pub/Sub service allows applications to exchange messages reliably, quickly, and asynchronously. To accomplish this, a data producer publishes messages to a Cloud Pub/Sub topic. A subscriber client then creates a subscription to that topic and consumes messages from the subscription. Cloud Pub/Sub persists messages that could not be delivered reliably for up to 7 days.\n\n# Core Steps:\n\n(1) create a Virtual Evn.\n\n(2) create Pub/Sub topic.\n\n(3) create Pub/Sub subscriber for client.\n\n(4) public message to topic.\n\n(5) to delivery (indivisual) output topic meassage using a Pull Subsriber.\n\n-----\n\nfrom step 1:\n\n\u003e create a virtual env.\n\n* 1.1, log in and activate the cloud shell, list the proj-id, then type the cmd line below.\n\n      sudo apt-get update\n      \n      sudo apt-get install virtualenv\n      // python virtual env is used to isolate the installation from sys.\n      \n      virtuallen -p python3 env\n      \n      source venv/bin/activate\n      \n \u003e from step 2:\n \n \u003e create a pubsub client from cloud.\n \n * 2.1, install google-cloud-pubsub to python pkg.\n \n       pip install --upgrade google-cloud-pubsub\n       \n * 2.2, get pkg from github.\n \n       git clone https://github.com/QueenieCplusplus/PubSub_Python_App.git\n      \n       cd PubSub_Python_App\n       \n  * 2.3, get Google Proj ID\n  \n        export GLOBAL_CLOUD_PROJECT=GCP Project ID\n\n  * 2.4, edit/running code file\n  \n        cat publisher.py\n        \n        python publisher.py -h\n        \n        python publisher.py $GLOBAL_CLOUD_PROJECT create MyTopic\n    \n   * 2.5, in cloud console, navigate to Big Data \u003e Pub/Sub \u003e topics we made.\n   \n         [result in UI]\n         \n        ![topic](https://raw.githubusercontent.com/QueenieCplusplus/CloudPubSub/main/pubsub%20topics%200.png)\n        \nto be continued...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueeniecplusplus%2Fcloudpubsub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqueeniecplusplus%2Fcloudpubsub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueeniecplusplus%2Fcloudpubsub/lists"}