AWS

Kinesis

Kisesis Data Streams is the real-time data streaming service that AWS provides.

 

AWS provides a couple of great tutorial to get accustomed with Kinesis.

 

If you are new to Kinesis I would start out with this tutorial:

https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis-example.html

  • create a kinesis stream
  • make a lambda function listen on the stream
  • put events on the kinesis stream
  • aws cli

 

When you already have an understanding of how Kinesis works and want to know more, go for:

https://docs.aws.amazon.com/streams/latest/dev/kinesis-sample-application.html

  • Consume using KCL
  • Produce using the kinesis Producer
  • create the stack using CloudFormation
  • Learn how to implement Kinesis codewise. They provide the code as an example: https://github.com/aws-samples/amazon-kinesis-data-visualization-sample
  • get into metrics about your stream
  • learn about kinesis keeping State in a DynamoDB using the principle of checkpointing

I want to hold on to that last point for a minute. Using KCL allows you to keep state of where your current window is on the stream. This in turn allows you to recover to the right point. This principle is called checkpointing. More info can be found here and here.

Leave a Reply

Your email address will not be published.