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

Simplify PubsubIO projectId management

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Invalid
    • 2.11.0
    • 2.12.0
    • io-java-gcp
    • 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

              je.ik Jan Lukavsky
              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