Configures your code to use the emulator instead of the real Pub/Sub service. Applies to C# and Java.
Documentation pages that include this code sample
To view the code sample used in context, see the following documentation:
Code Sample
C#
Before trying this sample, follow the C# setup instructions in the Pub/Sub Quickstart Using Client Libraries. For more information, see the Pub/Sub C# API reference documentation.
Java
Before trying this sample, follow the Java setup instructions in the Pub/Sub Quickstart Using Client Libraries. For more information, see the Pub/Sub Java API reference documentation.