oharaandrew314 / dynamodb-kotlin-module

Kotlin Module for the dynamodb-enhanced SDk
Apache License 2.0
23 stars 3 forks source link

Support TTL annotation on property #2

Closed oharaandrew314 closed 2 years ago

oharaandrew314 commented 2 years ago

If a property is annotated with a ttl annotation, then the table should be created with a ttl attribute

oharaandrew314 commented 2 years ago

Since TTLs can experience a delay of up to 48 hours to be honored, they cannot be relied upon for business logic. I don't think it's necessary to support TTLs for retention purposes only.