Skip to content
This repository was archived by the owner on Jun 18, 2020. It is now read-only.

Support on demand tables #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jsmitty12
Copy link

On-demand DynamoDB tables return 0 for read/write capacity units, which means the ratio specified is useless. Two new CLI arguments have been added (--onDemandWriteCapacityUnits, --onDemandReadCapacityUnits) to allow the user to specify the read and write capacity to use for on-demand tables. Those values are used only if the read/write capacity units are less than 1 (which should only happen if the table is on-demand).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@maxmanders
Copy link

I'm going to give this branch a spin. I've raised an issue referencing your PR; this is a feature I'm keen to use ASAP. Thanks for putting the work in!

@maxmanders
Copy link

I also updated the of powermock to 2.0.0-beta.5. The tests weren't passing on mvn install, and Stack Overflow suggested a newer release of PowerMock would fix this.
Caveat emptor - I'm not a Java developer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants