Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
3.4.0, 3.4.1, 3.4.2
-
None
-
None
-
Unknown
Description
This issue seems to be scoped to Groovy, at-least per my initial testing. The same code runs correctly in Java. When running this script without the GOOGLE_APPLICATION_CREDENTIALS environment variable set, Camel comes up, but when the same code is run in Java, it correctly fails with the error that GOOGLE_APPLICATION_CREDENTIALS needs to be set.
Also, messages from pubsub are not being consumed as well, even if the GOOGLE_APPLICATION_CREDENTIALS environment variable set. I have tried it with Camel 3.4.0, 3.4.1 and 3.4.2 and this issue occurs on all three versions.
Attached is the test script. The project name has been anonymized. Groovy, Java and OS versions are below
$ groovy --version
Groovy Version: 3.0.4 JVM: 11.0.6 Vendor: Azul Systems, Inc. OS: Mac OS X