apache / apache/beam

Upgrade google-cloud-pubsub to version >=1.4.2

Open
#20,160 0 comments 0 reactions 0 assignees View on GitHub
gcp improvement io java P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Using the Direct Runner many 504: Deadline Exceeded messages are observed if no Pub/Sub messages are available.

BEAM is using 'google-cloud-pubsub\>=0.39.0,<1.1.0' [1] and the fix for the error was addressed with pubsub 1.4.2 [2]. Updating to 1.4.2 should help resolve them.

[1] [https://raw.githubusercontent.com/apache/beam/v2.20.0/sdks/python/setup.py](https://raw.githubusercontent.com/apache/beam/v2.20.0/sdks/python/setup.py)

[2] [https://github.com/googleapis/python-pubsub/issues/9#issuecomment-603093757](https://github.com/googleapis/python-pubsub/issues/9#issuecomment-603093757)

Imported from Jira [BEAM-9988](https://issues.apache.org/jira/browse/BEAM-9988). Original Jira may contain additional context.
Reported by: monicaPC.

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.