Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Results downloaded by Pubsub Consume task cannot be previewed #351

Open
shrutimantri opened this issue Mar 23, 2024 · 0 comments
Open

Results downloaded by Pubsub Consume task cannot be previewed #351

shrutimantri opened this issue Mar 23, 2024 · 0 comments
Labels
area/plugin Plugin-related issue or feature request bug Something isn't working good first issue Great issue for new contributors

Comments

@shrutimantri
Copy link
Contributor

shrutimantri commented Mar 23, 2024

Preview on the downloaded results from PubSub Consume task failed to be previewed. It gives Error 500.
Screenshot 2024-03-23 at 3 57 46 PM

However, it is able to read the uri using Render Expression.
Screenshot 2024-03-23 at 4 08 41 PM

Steps To Reproduce

  1. Use the example Publish task to publish the messages.
  2. Then run the Consume task to consume these messages.
  3. Preview the output of the Consume task.

Environment Information

  • Kestra Version: 0.15.5
  • Plugin version: 0.15.5
  • Operating System (OS / Docker / Kubernetes): Docker
  • Java Version (If not docker): N/A

Example flow

Publish Task:

id: "publish"
type: "io.kestra.plugin.gcp.pubsub.Publish"
projectId: <project-id>
serviceAccount: "{{ secret('GCP_SERVICE_ACCOUNT_JSON') }}"
topic: topic-test
from:
-  data: "{{ 'base64-encoded-string-1' | base64encode }}"
   attributes:
       testAttribute: KestraTest
   messageId: '1234'
-  data: "{{ 'base64-encoded-string-2' | base64encode }}"
-  attributes:
       testAttribute: KestraTest

Consume Task

id: pubsub-consume
namespace: dev
tasks:
  - id: "consume"
    type: "io.kestra.plugin.gcp.pubsub.Consume"
    projectId: <project-id>
    serviceAccount: "{{ secret('GCP_SERVICE_ACCOUNT_JSON') }}"
    topic: smantri-test
    maxRecords: 3
    subscription: <subscription-id>
@shrutimantri shrutimantri added the bug Something isn't working label Mar 23, 2024
@anna-geller anna-geller added this to the v0.17.0 milestone Mar 25, 2024
@anna-geller anna-geller modified the milestones: v0.17.0, v0.19.0 Apr 17, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Issues Jun 10, 2024
@anna-geller anna-geller added the area/plugin Plugin-related issue or feature request label Aug 15, 2024
@anna-geller anna-geller removed this from the v0.19.0 milestone Aug 15, 2024
@tchiotludo tchiotludo added good first issue Great issue for new contributors and removed kind/good-first-issue labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugin Plugin-related issue or feature request bug Something isn't working good first issue Great issue for new contributors
Projects
Status: Backlog
Development

No branches or pull requests

3 participants