apache / apache/beam

[Bug]: WriteToPubSub not showing any permissions errors when serviceAccount doesn't have the permission (GCP)

Open
#22,821 2 comments 0 reactions 0 assignees View on GitHub
bug gcp io P2 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

### What happened?

If dataflow pipeline sink is a Google's Pubsub and the dataflow runner service account does not have appropriate roles/permissions, the pipeline does not log any permissions error message (The sink pubsub does not get any messages published which is as expected).

Code is as below.

data (PTransform) | "Write to PubSub" >> io.WriteToPubSub(topic=custom_options.sink_topic.get())

### Issue Priority

Priority: 2

### Issue Component

Component: io-py-gcp

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.