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

Go SDK: Protobuf namespace conflict

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.36.0
    • 2.39.0
    • beam-model, sdk-go
    • None

    Description

      The Go SDK generated grpc protobufs are not namespaced with enough granularity. If a user has another external dependency with the same protobuf file registered with the proto runtime, their compiled binary will panic at runtime pointing the user to this doc page

      In the interim, following the instructions to add either ldflags to the compiler or an environment var to the binary works, but this is an unideal solution since only one of the duplicate proto specifications will be accessible from a global registry.

       

      Ask: Regenerate the go protos such that descriptors like these are outputted with filenames that are more granular, such as a filename that includes the directory structure of the repository.

      Attachments

        1. demobug.zip
          24 kB
          Milan Patel

        Issue Links

          Activity

            People

              thempatel Milan Patel
              thempatel Milan Patel
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 29h 10m
                  29h 10m