On first use, the Google PubSub Java client creates 60 threads that stay live permanently.

Maybe that is not a problem for you, but if your application is resource-constrained and low-traffic, you don’t want so many threads waiting for massive outgoing traffic that will never happen.

More on how to solve this at my article.