Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6873

Simplify PubsubIO projectId management

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.11.0
    • Fix Version/s: 2.12.0
    • Component/s: io-java-gcp
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                je.ik Jan Lukavsky
                Reporter:
                janl Jan Lukavsk√Ĺ
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m