DynamoDB Local for Desktop Development
发布日期:2021-08-26 17:46:13 浏览次数:11 分类:技术文章

本文共 1401 字,大约阅读时间需要 4 分钟。

Would you like to be able to write and test code that uses the even if you have no network connection and without incurring any usage charges ?

If so, you are going to love Amazon's new DynamoDB Local test tool.

DynamoDB Local is a client-side database that supports the complete DynamoDB API, but doesn't manipulate any tables or data in DynamoDB itself.

You can write code while sitting in a tree, on the beach, or in the desert.

 

 

Installing and Running DynamoDB Local

DynamoDB Local is available as an executable Java archive (JAR) file.

It will run on Windows, Mac, and Linux systems and is compatible with version 7 of the (JRE).

It will not work on older versions of Java.

, put it in the directory of your choice, and open a command prompt in that directory.

Launch DynamoDB Local like this:

$ java –Djava.library.path=. -jar DynamoDBLocal.jar

DynamoDB Local will create a local database in the same directory as the JAR.

The file name will have the form MyAccessKeyId_Region.db, where MyAccessKeyId is the AWS access key used to access DynamoDB Local

and Region is the target region.

Configure your application so that it uses the local endpoint.

DynamoDB Local listens on port 8000 by default; you can change this by specifying the --port option when you start it.

If you are using the default port, the local endpoint will be localhost:8000.

 

 

 

转载于:https://www.cnblogs.com/davidgu/p/3390516.html

转载地址:https://blog.csdn.net/weixin_33893473/article/details/93802636 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:ANDROID的SENSOR相关信息
下一篇:Spring MVC简单原理

发表评论

最新留言

第一次来,支持一个
[***.219.124.196]2025年01月31日 18时09分50秒