[ 
https://issues.apache.org/jira/browse/BEAM-7043?focusedWorklogId=247452&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-247452
 ]

ASF GitHub Bot logged work on BEAM-7043:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/May/19 15:03
            Start Date: 23/May/19 15:03
    Worklog Time Spent: 10m 
      Work Description: iemejia commented on pull request #8390:  [BEAM-7043] 
Add DynamoDBIO
URL: https://github.com/apache/beam/pull/8390#discussion_r286990452
 
 

 ##########
 File path: 
sdks/java/io/amazon-web-services/src/test/java/org/apache/beam/sdk/io/aws/dynamodb/DynamoDBConfigMock.java
 ##########
 @@ -0,0 +1,59 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beam.sdk.io.aws.dynamodb;
+
+import com.amazonaws.services.dynamodbv2.AmazonDynamoDB;
+import javax.annotation.Nullable;
+import org.apache.beam.sdk.options.ValueProvider;
+
+/** Mock DynamoDBConfiguration to pass it over the write to writer for testing 
Writer's retries. */
+public class DynamoDBConfigMock extends DynamoDBIO.DynamoDBConfiguration {
 
 Review comment:
   Yes other IOs do it like that but for Amazon is probably a good idea to keep 
it similar, thanks!
   A future idea we have is to make it configurable via options because users 
mostly already will have `AwsOptions` around, but do not do this for this PR we 
have to discuss this first in the mailing list.
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 247452)
    Time Spent: 8h 50m  (was: 8h 40m)

> Add DynamoDBIO
> --------------
>
>                 Key: BEAM-7043
>                 URL: https://issues.apache.org/jira/browse/BEAM-7043
>             Project: Beam
>          Issue Type: New Feature
>          Components: io-java-aws
>            Reporter: Cam Mach
>            Assignee: Cam Mach
>            Priority: Minor
>          Time Spent: 8h 50m
>  Remaining Estimate: 0h
>
> Currently we don't have any feature to write data to AWS DynamoDB. This 
> feature will enable us to send data to DynamoDB



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to