Skip to content

SweetIQ/gcloud-pubsub-emulator-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

gcloud-pubsub-emulator-docker

PubSub emulator for Google Cloud

Supported tags and respective Dockerfile links

How to use this image

Ensure that the environment variable PUBSUB_EMULATOR_HOST where you are connecting to pub sub is set to the address of the emulator, and that PUBSUB_PROJECT_ID is set. e.g.

export PUBSUB_EMULATOR_HOST=localhost:8085
export PUBSUB_PROJECT_ID=pubsub-demo
docker run -p 8085:8085 gcloud-pubsub-emulator-docker

Then you may connect to the emulator using one of the client libraries as if you were connecting to the actual service.