com.google.cloud.pubsub.spi.v1.Publisher.publish is not sending data to PubSub
问题 The call to the newer version of com.google.cloud.pubsub.spi.v1.Publisher.publish(pubsubMessage).get() is hanging forever. I'm not sure what the problem is. Code snippet: com.google.cloud.pubsub.spi.v1.Publisher publisher = Publisher.defaultBuilder(TopicName.parse("projects/" + projectId + "/topics/" + topicName)) .setChannelProvider(TopicAdminSettings .defaultChannelProviderBuilder() .setCredentialsProvider(FixedCredentialsProvider.create(ServiceAccountCredentials.fromStream(new