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 an AWS account
To get started with AWS, you need an AWS account. There are two ways to sign up for AWS. If you want complete control over account configuration and where your content is stored, or if you have regulated workloads such as HIPAA or FedRAMP, use Sign up for AWS (advanced). If you are a new user and want to use a login you already own to sign in to AWS and create an AWS environment with preconfigured defaults in select AWS Regions, use Sign up for AWS.
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 AWS SDKs for Go, Java
, JavaScript , .NET , PHP , Python , and Ruby include Kinesis Data Streams support and samples. If your version of the AWS 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 AWS Command Line Interface supports Kinesis Data Streams. The AWS CLI enables you to control multiple AWS 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 AWS SDK for Java