简体   繁体   中英

AWS Dynamo DB change notification on android app

I have implemented AWS dynamo db service as a backed for an android application.I have stored data from dynamo db in local sqlite database at the very first time.

Now I want to know if there is some mechanism AWS service gives so that I can get notification whenever any changes occur in dynamo db so that I can refresh my local database as well.

Thank you in advance.

DynamoDB has a nice feature called streams. When a data got changed it delivers old and/or new image to DynamoDB Stream which can be triggered to Lambda. You can then pick up those events and create your mobile notification with Amazon SNS or any other mode you deliver your notifications to update your Android app database.

More on DyamoDBStreams:

http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html

Hope it helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM