kestra-io / plugin-gcp

Apache License 2.0
6 stars 9 forks source link

`io.kestra.plugin.gcp.pubsub.Consume` example throws `NullPointerException` #412

Open wrussell1999 opened 2 weeks ago

wrussell1999 commented 2 weeks ago

Expected Behavior

Trying to use the example on https://kestra.io/plugins/plugin-gcp/tasks/pubsub/io.kestra.plugin.gcp.pubsub.consume to consume messages from a Google PubSub topic.

Actual Behaviour

With the topic, serviceAccount and projectId set, it still throws a NullPointerException with no clear indication on what the error is/

Steps To Reproduce

id: consume_pubsub
namespace: company.team

tasks:
  - id: "consume"
    type: "io.kestra.plugin.gcp.pubsub.Consume"
    topic: test-topic
    projectId: "snappy-nomad-422714-t8"
    maxRecords: 10
    serviceAccount: "{{ secret('GOOGLE_SA') }}"

Environment Information

Example flow

No response

smunteankestra commented 2 weeks ago

reproducing

image