PubSub: Subscriber doesn't close connections after stopAsync #28
Labels
api: pubsub
Issues related to the googleapis/java-pubsub API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
status: duplicate
Duplicate.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
Steps to reproduce
Code example
It looks like that the Subscriber instance doesn't shutdown the field com.google.cloud.pubsub.v1.Subscriber#subStub. This field isn't added to the backgroundResources, also shutdown() or shutdownNow() method isn't called. That's why grpc channel isn't closed.
Whey I call subStub.shutdownNow() using java reflection, the problem disappears.
The text was updated successfully, but these errors were encountered: