Skip to content

An example program which uses the asynchronous Google Pub/Sub client with Python's `asyncio` capability.

License

Notifications You must be signed in to change notification settings

cloudfind/google-pubsub-asyncio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google-pubsub-asyncio

An example program which uses the asynchronous Google Pub/Sub client with Python's asyncio capability.

Publishes messages to a Pub/Sub topic, subscribes to it and prints the messages.

Usage

Create a virtualenv and install the dependencies:

virtualenv -p python3 venv
. venv/bin/activate
pip install -r requirements.txt

Now set some environment variables:

export GOOGLE_CLOUD_PROJECT=
export TOPIC=

Now run the app

python app.py

About

An example program which uses the asynchronous Google Pub/Sub client with Python's `asyncio` capability.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages