Source: https://cloud.google.com/pubsub/docs/emulator#pubsub-emulator-java
- Enter container with emulator
cd python-docs-samples/pubsub/cloud-client
python publisher.py camelot12345 create grail
python subscriber.py camelot12345 create grail sir_arthur