Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.7k views
in Technique[技术] by (71.8m points)

amazon web services - Kinesis Client Library, pre-created DynamoDB Tables

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?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...