awslabs / amazon-kinesis-client-python

Amazon Kinesis Client Library for Python
Apache License 2.0
368 stars 223 forks source link

boto and kcl - differenc? #73

Open chainhead opened 6 years ago

chainhead commented 6 years ago

Quick one - how is this implementation (link below) of Kinesis consumer and producer in boto different from KCL python? When should one opt for KCL Python vs. plain boto?

Link - Snakes in the Stream – Feeding and Eating Amazon Kinesis Streams with Python

jiawen-earnin commented 6 years ago

@chainhead KCL python and boto are different. You can treat boto as Kinesis Data Streams API. From the AWS document, here is what they say: "KCL provides a layer of abstraction specifically for processing data in a consumer role". So maybe it's better to use KCL to develop your application. Here is the link of that document: https://docs.aws.amazon.com/streams/latest/dev/developing-consumers-with-kcl.html