You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
Describe the bug
For Pub/Sub emulator, sometimes I get:
i.g.i.ManagedChannelOrphanWrapper : *~*~*~ Channel ManagedChannelImpl{logId=1, target=dns:///localhost:32873} was not shutdown properly!!! ~*~*~*
Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true.
Checking into the code, I'm not sure if we shutdown the clients gracefully, and thus shutdown all the managed channels. Shutdown can be done automatically if our beans implements AutoCloseable, or use @Bean(destroyMethod=...).
The text was updated successfully, but these errors were encountered:
Hi, I am not able to reproduce this issue in the new repo. You can probably have a look at this client library issue that may be related: googleapis/google-cloud-java#3648
I've seen some Spring Integration output related to this, but nothing reproducible. So it's a race condition between spring context shutdown and the client library awaitTermination. Ultimately likely has to get fixed in the client library.
Describe the bug
For Pub/Sub emulator, sometimes I get:
Checking into the code, I'm not sure if we shutdown the clients gracefully, and thus shutdown all the managed channels. Shutdown can be done automatically if our beans implements
AutoCloseable
, or use@Bean(destroyMethod=...)
.The text was updated successfully, but these errors were encountered: