Expand description
DynamoDb option keys to use when creating DynamoDbOptions. The same key should be used whether passing a key in the hashmap or setting it as an environment variable.
Constantsยง
- DYNAMO_
LOCK_ ADDITIONAL_ TIME_ TO_ WAIT_ MILLIS - Timeout for lock acquisition.
In practice, this is used to allow acquiring the lock in case it cannot be acquired immediately when a check after
LEASE_DURATION
is performed. If not provided, defaults to 1000 millis. - DYNAMO_
LOCK_ LEASE_ DURATION - Amount of time to lease a lock. If not provided, defaults to 20 seconds.
- DYNAMO_
LOCK_ OWNER_ NAME - Name of the task that owns the DynamoDb lock. If not provided, defaults to a UUID that represents the process performing the write.
- DYNAMO_
LOCK_ PARTITION_ KEY_ VALUE - Used as the partition key for DynamoDb writes. This should be the same for all writers writing against the same S3 table.
- DYNAMO_
LOCK_ REFRESH_ PERIOD_ MILLIS - Amount of time to wait before trying to acquire a lock. If not provided, defaults to 1000 millis.
- DYNAMO_
LOCK_ TABLE_ NAME - The DynamoDb table where locks are stored. Must be the same between clients that require the same lock.