Skip to content

add pubsub max_read_time_seconds parameter - #40341

Draft
derrickaw wants to merge 1 commit into
apache:masterfrom
derrickaw:20260929_addMaxReadTimePubsub
Draft

derrickaw wants to merge 1 commit into
apache:masterfrom
derrickaw:20260929_addMaxReadTimePubsub

Conversation

@derrickaw

@derrickaw derrickaw commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Problem: ReadFromKafka has max_read_time_seconds parameter preventing the pipeline from reading forever if so desired by the user. ReadFromPubSub transform doesn't have this feature.

Goals: add max_read_time_seconds parameter to ReadFromPubSub transform, add testing, and also cover publish_time parameter in yaml test based on previous PR merge. Fixes #39009


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Add max_read_time to ReadFromPubsub similar to ReadFromKafka

1 participant