You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/12/17 15:16:00 UTC

[jira] [Resolved] (CAMEL-15325) Groovy script with Google pubsub cannot consume messages

     [ https://issues.apache.org/jira/browse/CAMEL-15325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-15325.
---------------------------------
    Resolution: Won't Fix

We support using Java with Camel

> Groovy script with Google pubsub cannot consume messages 
> ---------------------------------------------------------
>
>                 Key: CAMEL-15325
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15325
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-google-pubsub
>    Affects Versions: 3.4.0, 3.4.1, 3.4.2
>            Reporter: Ramesh Venkitaswaran
>            Priority: Minor
>         Attachments: gcp.groovy
>
>
> 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
> {quote}
> $ groovy --version
> Groovy Version: 3.0.4 JVM: 11.0.6 Vendor: Azul Systems, Inc. OS: Mac OS X
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)