Closed torangel closed 2 years ago
This to address
In all languages except for Java and C#, if you have set PUBSUB_EMULATOR_HOST as described in Setting environment variables, the Pub/Sub client libraries automatically call the API running in the local instance rather than Pub/Sub.
However, C# and Java client libraries require you to modify your code to use the emulator
https://cloud.google.com/pubsub/docs/emulator#accessing_environment_variables
Cool 🙂 let me know when the PR is ready for review
Should be ready now :) Based on learnings from hosting Rebus in GCE I made two more modifications as shown in the last commits:
Coool! It's out as Rebus.GoogleCloudPubSub 0.0.6 on Nuget.org now 🙂
Thanks for contributing ❤️
Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.