Skip to content

ahmed91abbas/pubsub_message_listener

Repository files navigation

Pub/Sub message listener

By providing the Google Cloud project ID and a Pub/Sub topic subscription name you can listen to all incoming messages to that topic.

main screen

Prerequisites

You need to have authentication setup with GCP with enough permissions to listen to the pub/sub topic you are trying to connect to. Please refer to the GCP getting started with authentication article to setup your authentication.

Run the application

  1. Create a new virtual environment running the following commands from the root of your project directory (Optional):

     virtualenv env
    
  2. Activate your new virtual environment (Optional):

    • Linux:

        source env/bin/activate
      
    • Windows

        env\scripts\activate
      
  3. Install all the Python packages needed for this application:

     pip install -r requirements.txt
    
  4. Run the tool:

     python main.py
    

About

Listens to incoming messages on a Pub/Sub topic and list them in a GUI

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages