Currently, we\'re working on a spring boot application in a GCP project, which connects to a PubSub endpoint in the same GCP project, but also to a PubSub endpoint in anothe
Considering correct privileges for another project,you can publish/subscribe to topics in different projects with a fully qualified topic/subscription name
eg. for topic publish pubSubTemplate.publish("projects/other-project/topics/the-topic", "payload")
.
This should be available with the latest spring-cloud-gcp
version. Please see this issue for more details.