1.2.x
branch, but the point is to have docs for that branch as well
For
AddressSettings addressSettings =
AddressSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Just use the autowired CredentialsProvider.
Hi everyone,
I have a java-maven project which has a dependency - "spring-cloud-gcp-starter-pubsub"
I want to disable/enable pubsub with a property (not with a profile) but even when I think it is disabled, I see "failed to detect whether we are running on Google Compute Engine" info log.
I tried different properties like below but none of them seems to work. Do you know if any exist? With the dependency added, it always tries to connect.
spring.cloud.gcp.pubsub.enabled=false
spring.cloud.gcp.config.enabled=false
spring.cloud.gcp.security.iap.enabled=false