Open shrutimantri opened 8 months ago
The PubSub Publish task should fail if the publish did not take place (when the topic itself did not exist).
The PubSub Publish task is successful when there is no PubSub topic.
id: pubsub-publish namespace: dev tasks: - id: "publish" type: "io.kestra.plugin.gcp.pubsub.Publish" projectId: <project-id> serviceAccount: "{{ secret('GCP_SERVICE_ACCOUNT_JSON') }}" topic: smantri-test from: - data: "{{ 'base64-encoded-string-1' | base64encode }}" attributes: testAttribute: KestraTest messageId: '1234' - data: "{{ 'base64-encoded-string-2' | base64encode }}" - attributes: testAttribute: KestraTest
Expected Behavior
The PubSub Publish task should fail if the publish did not take place (when the topic itself did not exist).
Actual Behaviour
The PubSub Publish task is successful when there is no PubSub topic.
Steps To Reproduce
Environment Information
Example flow