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.
Tasks
Sign up for an Amazon Web Services account
If you do not have an Amazon Web Services account, use the following procedure to create one.
To sign up for Amazon Web Services
Open http://www.amazonaws.cn/
and choose Sign Up. Follow the on-screen instructions.
Amazon sends you a confirmation email after the sign-up process is
complete. At any time, you can view your current account activity and manage your account by
going to http://www.amazonaws.cn/
Secure IAM users
After you sign up for an Amazon Web Services account, safeguard your administrative user by turning on multi-factor authentication (MFA). For instructions, see Enable a virtual MFA device for an IAM user (console) in the IAM User Guide.
To give other users access to your Amazon Web Services account resources, create IAM users. To secure your IAM users, turn on MFA and only give the IAM users the permissions needed to perform their tasks.
For more information about creating and securing IAM users, see the following topics in the IAM User Guide:
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 , 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