google-cloud-pubsub-emulator

How to use Pubsub Emulator with PublisherClient from google-cloud-pubsub version 0.28

How to use Pubsub Emulator with PublisherClient from google-cloud-pubsub version 0.28 Question: I just update to google-cloud-pubsub version 0.28, where Google restructured the Python client into a PublisherClient and SubscriberClient. I was trying to connect to the Pubsub Emulator on localhost, but despite setting the environment variables, it still connects to the cloud pubsub service, …

Total answers: 1