How to use Google Pub/Sub emulator locally to test Google Pub/Sub on Apple Silicon Chip (M1)

When you are working with Google Pub/Sub you know it sometimes can be very boring to test on a new sandbox environment and the testing time can take longer than it should do.

So why not use the gcloud emulator for that? Yes, you can install a Google Pub/Sub emulator locally on your machine and test out an application before you ship it into Google Cloud Platform.

Setup Google Pub/Sub emulator

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store