We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b088717 commit 867ad23Copy full SHA for 867ad23
src/main/java/org/embulk/output/dynamodb/DynamodbUtils.java
@@ -111,6 +111,9 @@ protected void configCheck(DynamodbOutputPlugin.PluginTask task)
111
if (!task.getPrimaryKey().isPresent() || !task.getPrimaryKeyType().isPresent()) {
112
throw new ConfigException("If auto_create_table is true, both primary_key and primary_key_type is necessary");
113
}
114
+ if (!task.getReadCapacityUnits().isPresent() || !task.getWriteCapacityUnits().isPresent()) {
115
+ throw new ConfigException("If auto_create_table is true, 'read_capacity_units' and 'write_capacity_units' is required.");
116
+ }
117
118
119
0 commit comments