Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 722 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 722 Bytes

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.