apache / apache/beam

[Bug]: PubSubReadEvalutar for DirectRunner introduces very long timeout

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

Description

### What happened?

#16126 Made an undocumented change when upgrading the pubsub library by adding a 30 second timeout.

https://github.com/apache/beam/commit/acff5d1f29246c44513dbe2fe3da53567448bc14#diff-01a2c3bce792ce6a31018973e914a42b7150d06dc9c490a4640148e06ffdfa01R690

This timeout makes streaming pipeline windows with many subscriptions to listen to lag 30*(number of subscriptions) seconds when not all topics are generating messages, causing a minute long window in my case to be emitted after 30 minutes if it has a few messages, or an hour depending on the luck of the scheduler.

### Issue Priority

Priority: 2 (default / most bugs should be filed as P2)

### Issue Components

- [X] Component: Python SDK
- [ ] Component: Java SDK
- [ ] Component: Go SDK
- [ ] Component: Typescript SDK
- [ ] Component: IO connector
- [ ] Component: Beam examples
- [ ] Component: Beam playground
- [ ] Component: Beam katas
- [ ] Component: Website
- [ ] Component: Spark Runner
- [ ] Component: Flink Runner
- [ ] Component: Samza Runner
- [ ] Component: Twister2 Runner
- [ ] Component: Hazelcast Jet Runner
- [ ] Component: Google Cloud Dataflow Runner

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.