awslabs / amazon-kinesis-producer

Amazon Kinesis Producer Library
Apache License 2.0
401 stars 331 forks source link

Enable support to Java 1.6 #149

Open dortegau opened 7 years ago

dortegau commented 7 years ago

There are only 18 lines that uses features present only in Java 1.7 or higher (because uses diamond operator for example).

Would be possible to enable support to Java 1.6 in amazon-kinesis-producer? (as is defined in aws-sdk-java: https://github.com/aws/aws-sdk-java/blob/f59a8902bb171e216c3b68c278e18e60f3b53741/pom.xml#L262)

pfifer commented 7 years ago

Is there a specific reason you need Java 1.6 support? Java 1.6 is deprecated, and no longer receives security updates.

dortegau commented 7 years ago

Hi @pfifer,

The main reason is that I have a project that its not easy to migrate to Java 1.7 (because of some dependencies) and I want to use Amazon-kinesis-producer instead of directly the SDK.

Some other reasons:

Thanks in advance, Daniel