You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Moritz Mack (Jira)" <ji...@apache.org> on 2021/12/03 11:13:00 UTC

[jira] [Updated] (BEAM-13243) PublishResult returned by SnsIO is missing sdkResponseMetadata and sdkHttpMetadata (AWS SDK v2)

     [ https://issues.apache.org/jira/browse/BEAM-13243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Moritz Mack updated BEAM-13243:
-------------------------------
    Description: 
Currently the PublishResultCoder in SnsIO only serializes the messageId field so the PublishResult returned by Beam returns null for getSdkResponseMetadata() and getSdkHttpMetadata(). This makes it impossible to check the HTTP status for errors, which is necessary since this is not handled in SnsIO.

Support for this was added in BEAM-8374 for AWS SDK v1, but is still missing for AWS SDK v2.

 

> PublishResult returned by SnsIO is missing sdkResponseMetadata and sdkHttpMetadata (AWS SDK v2)
> -----------------------------------------------------------------------------------------------
>
>                 Key: BEAM-13243
>                 URL: https://issues.apache.org/jira/browse/BEAM-13243
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-aws
>            Reporter: Moritz Mack
>            Priority: P3
>              Labels: aws
>
> Currently the PublishResultCoder in SnsIO only serializes the messageId field so the PublishResult returned by Beam returns null for getSdkResponseMetadata() and getSdkHttpMetadata(). This makes it impossible to check the HTTP status for errors, which is necessary since this is not handled in SnsIO.
> Support for this was added in BEAM-8374 for AWS SDK v1, but is still missing for AWS SDK v2.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)