When running PubSubLite as a subscriber in a dataflow job I'm receiving the following error repeatedly.
"*~*~*~ Channel ManagedChannelImpl{logId=845, target=us-east1-pubsublite.googleapis.com:443} was not shutdown properly!!! ~*~*~*
Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true."
The connection is handled in the Pipeline. Do I need to get a reference to the connection and shut it down somewhere? This feels like it should be managed somewhere lower level in this deployment context.
Environment details
- OS type and version: Windows -> Dataflow GCP
- Java version: 1.8
- Beam 1.28
- pubsublite version(s):
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>pubsublite-beam-io</artifactId>
<version>0.11.1</version>
</dependency>
Steps to reproduce
- Create PubSubLit Subscriber in DataFlow Job
When running PubSubLite as a subscriber in a dataflow job I'm receiving the following error repeatedly.
The connection is handled in the Pipeline. Do I need to get a reference to the connection and shut it down somewhere? This feels like it should be managed somewhere lower level in this deployment context.
Environment details
Steps to reproduce