Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am using the Kinesis Client Library version 2.x

It is expected that issues like leasing of shards as well as rebalancing are going to be tackled through DynamoDB usage.

Following the Principle of least privilege I do not want my consumer applications to have the option to create DynamoDB tables dynamically. Instead I prefer resources to be created upfront using the preferred IAC tool and afterwards create some fine tuned roles.

Is there a way to skip the consumer based DynamoDB table creation? Am I covered If I just create the expected DynamoDB tables per shards and future shards (proactively in case of on demand scale up) or is there a random Pattern on the names of the DynamoDB tables the consumer library creates?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
3.7k views
Welcome To Ask or Share your Answers For Others

1 Answer

After checking the source code of amazon-kinesis-client only one Table is created and this one has the name of the application name that you give on the scheduler.

So the above is possible.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...