You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/02/07 17:12:21 UTC

[GitHub] [beam] mosche commented on a change in pull request #16760: [BEAM-13563] Introducing common AWS ClientBuilderFactory (AWS Sdk v2)

mosche commented on a change in pull request #16760:
URL: https://github.com/apache/beam/pull/16760#discussion_r800876972



##########
File path: sdks/java/io/amazon-web-services2/src/main/java/org/apache/beam/sdk/io/aws2/options/AwsModule.java
##########
@@ -298,100 +321,38 @@ public void serialize(
   }
 
   /** A mixin to add Jackson annotations to {@link AttributeMap}. */
-  @JsonSerialize(using = AttributeMapSerializer.class)
-  @JsonDeserialize(using = AttributeMapDeserializer.class)
-  private static class AttributeMapMixin {}
-
-  private static class AttributeMapDeserializer extends JsonDeserializer<AttributeMap> {

Review comment:
       Meant to expose http configuration parameters for AWS clients in [AwsOptions](https://github.com/apache/beam/pull/16760/files#diff-d4c58a1b3d2076e891deb2d43272a1383cb0c83494b26e059a1eb9fc9d0dad52L137-L141), but wasn't used at all.
   `AttributeMap` is part of the protected internal API of the SDK and shouldn't be used in Beam. It's replaced by 
   [HttpClientConfiguration](https://github.com/apache/beam/pull/16760/files#diff-3d87e290202dcedf12176f2c1441cf579feff8367af5478f58a2903bec78ca7dR35)
   
   
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org