[PubSub]: Program Hangs When PubSub Emulator Is Down #891
Labels
api: pubsub
Issues related to the googleapis/java-pubsub API.
type: question
Request for information or clarification. Not an issue.
Environment details
Steps to reproduce
Code
Stack trace
No Stack Trace - that's the problem
Any additional information below
I have followed the guides to create a simple publisher and tested it against a local running PubSub emulator. When the emulator is running, everything is fine and works accordingly. However, to test that my program handles pathological situations, I shut down the emulator and ran my program. My program hangs. I was expecting some sort of exception to be thrown to indicate that the a channel/connection could not be created between my program and the emulator but nothing happens.
Why does the program hang? Is it retrying (I couldn't tell from looking at the implementation)? If it is retrying what are the default RetrySettings?
The text was updated successfully, but these errors were encountered: