Aws-sdk-java: could not resolve "com.amazonaws.services.kinesis.clientlibrary.types.ShutdownReason" with amazon-kinesis-client(1.9.1)

Created on 24 Aug 2018  路  2Comments  路  Source: aws/aws-sdk-java

Most helpful comment

You should change the import to:
import com.amazonaws.services.kinesis.clientlibrary.lib.worker.ShutdownReason;
And it will find the enum there.

All 2 comments

As mentioned in #1741, it is recommended to keep all sdk modules the same version. Side note: 1.11.x is the recommended version.

You should change the import to:
import com.amazonaws.services.kinesis.clientlibrary.lib.worker.ShutdownReason;
And it will find the enum there.

Was this page helpful?
0 / 5 - 0 ratings