beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2982) PubSubIO.readMessages().fromSubscription(...) doesn't work with ValueProvider
Date Mon, 25 Sep 2017 20:39:00 GMT

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

ASF GitHub Bot commented on BEAM-2982:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/beam/pull/3888


> PubSubIO.readMessages().fromSubscription(...) doesn't work with ValueProvider
> -----------------------------------------------------------------------------
>
>                 Key: BEAM-2982
>                 URL: https://issues.apache.org/jira/browse/BEAM-2982
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-gcp
>            Reporter: Ben Chambers
>            Assignee: Thomas Groh
>
> Originally reported on Stack Overflow:
> https://stackoverflow.com/questions/46360584/apache-beam-template-runtime-context-error
> ---
> In the `PubsubUnboundedSource#expand` method we create the PubsubSource:
> https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubUnboundedSource.java#L1399
> Creating the PubsubSource calls `getSubscription` which attempts to get the value out
of a value provider.
> To support templatization, the PubsubSource needs to take the ValueProvider, and only
get the subscription out at pipeline execution time.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message