Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion dynamodb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@ for more information on setup.
# Properties

$DYNAMODB_HOME/conf/dynamodb.properties
$DYNAMODB_HOME/conf/AWSCredentials.properties

# AWS credentials

To make requests to Amazon Web Services using the AWS SDK for Java, you must use
cryptographically-signed credentials issued by AWS.
The DynamoDB Client is using the Default Credential Provider chain by default. The available
configuration option to authenticate your client correctly are documented here:
https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html#credentials-default

# FAQs
* Why is the recommended workload distribution set to 'uniform'?
Expand Down
19 changes: 0 additions & 19 deletions dynamodb/conf/AWSCredentials.properties

This file was deleted.

15 changes: 7 additions & 8 deletions dynamodb/conf/dynamodb.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@

## Mandatory parameters

# AWS credentials associated with your aws account.
#dynamodb.awsCredentialsFile = <path to AWSCredentials.properties>

# Primarykey of table 'usertable'
#dynamodb.primaryKey = <firstname>

Expand Down Expand Up @@ -69,7 +66,7 @@
#dynamodb.hashKeyValue = <some value of your choice>

# AWS Region code to connect to:
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
# Set this parameter, unless you are using the default value ('us-east-1).
#dynamodb.region = us-east-1

Expand All @@ -86,14 +83,16 @@
# "true" or "false"
#dynamodb.debug = false

# Maximum number of concurrent connections
#dynamodb.connectMax = 50

# Read consistency.Consistent reads are expensive and consume twice
# Read consistency. Consistent reads are expensive and consume twice
# as many resources as eventually consistent reads. Defaults to false.
# "true" or "false"
#dynamodb.consistentReads = false

# Batch inserts. Use BatchWriteItem API for loading data into the table more efficiently.
# Especially relevant during the YCSB load phase.
# "true" or "false". Defaults to false
#dynamodb.batchInsert = false

# Workload size has implications on provisioned read and write
# capacity units.Refer FAQs in README
#fieldcount = 10
Expand Down
13 changes: 9 additions & 4 deletions dynamodb/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!--
Copyright (c) 2012 - 2016 YCSB contributors. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down Expand Up @@ -31,9 +31,14 @@ LICENSE file.

<dependencies>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk</artifactId>
<version>1.11.812</version>
<groupId>software.amazon.awssdk</groupId>
<artifactId>apache-client</artifactId>
<version>2.17.219</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>dynamodb</artifactId>
<version>2.17.219</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
Expand Down
Loading