Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is Kinesis Producer included in the AWS SDK for Java BOM? #435

Open
spachari-im opened this issue May 24, 2022 · 0 comments
Open

Is Kinesis Producer included in the AWS SDK for Java BOM? #435

spachari-im opened this issue May 24, 2022 · 0 comments

Comments

@spachari-im
Copy link

spachari-im commented May 24, 2022

I am trying to add a Kinesis producer to an existing Java project that is built using Apache Maven.
The project includes all AWS libraries using the AWS SDK Maven BOM. Refer - https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/setup-project-maven.html
Here the BOM:

<dependency>
                <groupId>com.amazonaws</groupId>
                <artifactId>aws-java-sdk-bom</artifactId>
                <version>1.11.989</version>
                <type>pom</type>
                <scope>import</scope>
 </dependency>

Here is how I included Kinesis:

<dependency>
      <groupId>com.amazonaws</groupId>
      <artifactId>aws-java-sdk-kinesis</artifactId>
 </dependency>

Issue: I can see some Kinesis related Classes, but I cannot find the KinesisProducer and the KinesisProducerConfiguration, that are needed for Kinesis.

Question: Is the KPL included in the BOM? The other options I have that work are

  1. Include the Flink Shaded Jar `org.apache.flink:flink-connector-kinesis_2.11 (this is more convenient than AWS Maven)
    2.Include the KPL directly like this:
<dependency>
            <groupId>com.amazonaws</groupId>
            <artifactId>amazon-kinesis-producer</artifactId>
            <version>0.14.12</version>
 </dependency>

Can you please confirm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant