Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.1k 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 Reply

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...