Develop consumers with KCL in non-Java languages
This section covers the implementation of consumers using Kinesis Client Library (KCL) in Python, Node.js, .NET, and Ruby.
KCL is a Java library. Support for languages other than Java is provided
using a multi-language interface called the MultiLangDaemon
. This daemon is
Java-based and runs in the background when you are using a KCL with a language
other than Java. Therefore, if you install KCL for non-Java languages and write
your consumer app entirely in non-Java languages, you still need Java installed on your
system because of the MultiLangDaemon
. Further,
MultiLangDaemon
has some default settings you might need to customize
for your use case (for example, the AWS region that it connects to). For more
information about the MultiLangDaemon
on GitHub, see KCL MultiLangDaemon project
While the core concepts remain the same across languages, there are some language-specific considerations and implementations. For the core concepts about the KCL consumer development, see Develop consumers with KCL in Java. For more detailed information about how to develop KCL consumers in Python, Node.js, .NET, and Ruby and latest updates, please refer to the following GitHub repositories:
-
Python: amazon-kinesis-client-python
-
Node.js: amazon-kinesis-client-nodejs