You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Borisa Zivkovic (JIRA)" <ji...@apache.org> on 2017/05/05 14:45:04 UTC

[jira] [Commented] (BEAM-454) Validate Pubsub Topic exists when reading

    [ https://issues.apache.org/jira/browse/BEAM-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15998422#comment-15998422 ] 

Borisa Zivkovic commented on BEAM-454:
--------------------------------------

I can take this if you want. Few questions:

- would it make sense to check for existence of topic when writing data to it? Today if you try to write to topic that does not exist it will only be discovered once data starts flowing - not during pipeline construction time

- are there any e2e tests that use directly pubsub today?

- today if you try to read from topic that does not exist an exception would be thrown - I guess you only want to make exception more readable and user friendly, saying something like: unable to read from topic X because it does not exist, right?

> Validate Pubsub Topic exists when reading
> -----------------------------------------
>
>                 Key: BEAM-454
>                 URL: https://issues.apache.org/jira/browse/BEAM-454
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-gcp
>            Reporter: Frances Perry
>            Priority: Minor
>              Labels: newbie, starter
>
> When reading from Pubsub, we should validate the pubsub topic exists at graph construction time (similar to the way we validate a BQ dataset and table exist).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)