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

Improved handling of topicArn in SnsIO.write

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.37.0
    • io-java-aws

    Description

      Usage of SnsIO.write is rather unintuitive at the moment.

      topicArn is a required configuration and during expansion the existence of the topic is validated.

      However, the user also has to provide a function to build an SNS publish request. The topicArn for that publish request has to be set as well, but can be different from the one configured and validated in the writer. 

      This is confusing and makes any validation pointless.

      Also, when validating the SNS client instance is not closed.

      Attachments

        Issue Links

          Activity

            People

              mosche Moritz Mack
              mosche Moritz Mack
              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 - 1h 20m
                  1h 20m