Complete prerequisites to set up Amazon Kinesis Data Streams
Before you use Amazon Kinesis Data Streams for the first time, complete the following tasks to set up your environment.
Sign up for Amazon
When you sign up for Amazon Web Services (Amazon), your Amazon account is automatically signed up for all services in Amazon, including Kinesis Data Streams. You are charged only for the services that you use.
If you have an Amazon account already, skip to the next task. If you don't have an Amazon account, use the following procedure to create one.
To sign up for an Amazon account
Follow the online instructions.
Part of the sign-up procedure involves receiving a phone call and entering a verification code on the phone keypad.
When you sign up for an Amazon Web Services account, an Amazon Web Services account root user is created. The root user has access to all Amazon Web Services services and resources in the account. As a security best practice, assign administrative access to a user, and use only the root user to perform tasks that require root user access.
Download libraries and tools
The following libraries and tools will help you work with Kinesis Data Streams:
-
The Amazon Kinesis API Reference is the basic set of operations that Kinesis Data Streams supports. For more information about performing basic operations using Java code, see the following:
-
The Amazon SDKs for Go
, Java , JavaScript , .NET , Node.js , PHP , Python , and Ruby include Kinesis Data Streams support and samples. If your version of the Amazon SDK for Java does not include samples for Kinesis Data Streams, you can also download them from GitHub . -
The Kinesis Client Library (KCL) provides an easy-to-use programming model for processing data. The KCL can help you get started quickly with Kinesis Data Streams in Java, Node.js, .NET, Python, and Ruby. For more information see Reading Data from Streams.
-
The Amazon Command Line Interface supports Kinesis Data Streams. The Amazon CLI enables you to control multiple Amazon services from the command line and automate them through scripts.
Configure your development environment
To use the KCL, ensure that your Java development environment meets the following requirements:
-
Java 1.7 (Java SE 7 JDK) or later. You can download the latest Java software from Java SE Downloads
on the Oracle website. -
Apache Commons package (Code, HTTP Client, and Logging)
-
Jackson JSON processor
Note that the Amazon SDK for Java