You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Jan Lukavský (JIRA)" <ji...@apache.org> on 2019/03/21 09:25:00 UTC

[jira] [Created] (BEAM-6873) Simplify PubsubIO projectId management

Jan Lukavský created BEAM-6873:
----------------------------------

             Summary: Simplify PubsubIO projectId management
                 Key: BEAM-6873
                 URL: https://issues.apache.org/jira/browse/BEAM-6873
             Project: Beam
          Issue Type: Improvement
          Components: io-java-gcp
    Affects Versions: 2.11.0
            Reporter: Jan Lukavský
             Fix For: 2.12.0


PubsubIO uses some (probably) legacy code around projectId management, which among several other suboptimalities causes pipelines without {{GcpOptions.project}} specified to fail. This is not necessary, because projectId is already contained in {{projects/<project>/topics/<topic>}} when reading specified topic. The projectId should be read from there and (possibly to maintain backwards compatibility) be overridden by GcpOptions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)