I want to create Kinesis stream using Java. So I followed aws doc(URL:http://docs.aws.amazon.com/streams/latest/dev/kinesis-using-sdk-java-create-stream.html). According to that, 1st of all i have to create Kinesis Streams Client. I try it by given code which is:
client = new AmazonKinesisClient();
I'm using eclipse with aws toolkit for eclipse,java version "1.8.0_131" in Windows environment. Above code give me this error:
The constructor AmazonKinesisClient() is deprecated
How to overcome this problem?