You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 19:08:29 UTC

[GitHub] [beam] damccorm opened a new issue, #20753: Guardrails around fromTopic (pubsub)

damccorm opened a new issue, #20753:
URL: https://github.com/apache/beam/issues/20753

   Fundamentally, we should strongly discourage the use of ephemeral topics (fromTopic() in PubsubIO) in favor of user-created subscriptions. Currently, the documentation for fromTopic states this matter-of-factly, without drawing attention to the fact that this is almost certainly *not* what the wants:
   
   > The Beam runner will start reading data published on this topic from the time the pipeline is started. Any data published on the topic before the pipeline is started will not be read by the runner.
   
   Suggestion: We should include an execution warning whenever fromTopic is used, as well as update the documentation.
   
   Imported from Jira [BEAM-11632](https://issues.apache.org/jira/browse/BEAM-11632). Original Jira may contain additional context.
   Reported by: altay.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org