Setting Up for Amazon Kinesis Streams
Before you use Amazon Kinesis Streams for the first time, complete the following tasks.
Sign Up for AWS
When you sign up for Amazon Web Services (AWS), your AWS account is automatically signed up for all services in AWS, including Streams. You are charged only for the services that you use.
If you have an AWS account already, skip to the next task. If you don't have an AWS account, use the following procedure to create one.
To sign up for an AWS account
Open https://aws.amazon.com/, and then choose Create an AWS Account.
Follow the online instructions.
Part of the sign-up procedure involves receiving a phone call and entering a PIN using the phone keypad.
Download Libraries and Tools
The following libraries and tools will help you work with Streams:
The Amazon Kinesis API Reference is the basic set of operations that Streams supports. For more information about performing basic operations using Java code, see the following:
The Amazon Kinesis Client Library (KCL) provides an easy-to-use programming model for processing data. The KCL can help you get started quickly with Streams in Java, Node.js, .NET, Python, and Ruby. For more information see Developing Amazon Kinesis Streams Consumers Using the Amazon Kinesis Client Library.
The AWS Command Line Interface supports Streams. The AWS CLI enables you to control multiple AWS services from the command line and automate them through scripts.
(Optional) The Amazon Kinesis Connector Library helps you integrate Streams with other AWS services. For example, you can use the Amazon Kinesis Connector Library, in conjunction with the KCL, to reliably move data from Streams to Amazon DynamoDB, Amazon Redshift, and Amazon S3.
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 AWS SDK for Java includes Apache Commons and Jackson in the third-party folder. However, the SDK for Java works with Java 1.6, while the Amazon Kinesis Client Library requires Java 1.7.