chris.e.richardson
4,880 views
11 slides
Nov 30, 2014
Slide 1 of 11
1
2
3
4
5
6
7
8
9
10
11
About This Presentation
A brief introduction to the recently announced AWS DynamoDB streams
Size: 1.73 MB
Language: en
Added: Nov 30, 2014
Slides: 11 pages
Slide Content
@crichardson
AWS DynamoDB Streams
A quick introduction
Chris Richardson
Author of POJOs in Action
Founder of the original CloudFoundry.com
@crichardson [email protected]
http://plainoldobjects.com
http://microservices.io
@crichardson
What is a DynamoDB
Stream?
An ordered sequence of changes to items in a DynamoDB table:
Puts, updates, and deletes performed in last 24 hours
Sharded for scalability
Kinda like: message queue or Kafka topic
Similar to Kinesis streams
Subscribe to a stream to track the changes made to a table
Real time analytics
Cross region replication
Maintain materialized view tables
...
@crichardson
Creating a table with a streamKEYS,
OLD_IMAGE
and/or
NEW_IMAGE
@crichardson
Getting the stream id
@crichardson
Getting the shards in a stream
@crichardson
Reading change records
@crichardson
Change records
@crichardson
@crichardson
Kinesis adapterhttp://dynamodb-preview.s3-website-us-west-2.amazonaws.com/docs/streams-dg/Streams.KCLAdapter.html Scalable,
fault tolerant
programming
model for stream
processing https://github.com/awslabs/amazon-kinesis-client