daangn / kinesumer

A Go client implementing a client-side distributed consumer group client for Amazon Kinesis
Apache License 2.0
76 stars 6 forks source link

I have a question about PK of DynamoDB #3

Open YoungsoonLee opened 3 years ago

YoungsoonLee commented 3 years ago

Nice project. I have a question. I think it's better to use UUID(like event id or client id) of PK for DynamoDB FYI, https://aws.amazon.com/blogs/database/choosing-the-right-dynamodb-partition-key/

example, CKP#TESTCLIENT#EVENTS#ID#12345667 CLIENT#TESTCLIENT#ID#123456

What do you think ?

Screen Shot 2021-10-01 at 12 46 14 AM