Skip to content

Commit

Permalink
Fix AWS Sdk dependency conflict (#5082)
Browse files Browse the repository at this point in the history
Signed-off-by: Souvik Bose <[email protected]>
Co-authored-by: Souvik Bose <[email protected]>
  • Loading branch information
sb2k16 and sbose2k21 authored Oct 17, 2024
1 parent 09ed988 commit 2575db3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ subprojects {

configure(subprojects.findAll {it.name != 'data-prepper-api'}) {
dependencies {
implementation platform('software.amazon.awssdk:bom:2.21.23')
implementation platform('software.amazon.awssdk:bom:2.25.11')
implementation 'jakarta.validation:jakarta.validation-api:3.0.2'
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;

import static org.opensearch.dataprepper.logging.DataPrepperMarkers.NOISY;

public class KinesisService {
private static final Logger LOG = LoggerFactory.getLogger(KinesisService.class);
private static final int GRACEFUL_SHUTDOWN_WAIT_INTERVAL_SECONDS = 20;
Expand Down Expand Up @@ -138,7 +140,7 @@ public Scheduler getScheduler(final Buffer<Record<Event>> buffer) {
try {
scheduler = createScheduler(buffer);
} catch (Exception ex) {
LOG.error("Caught exception when initializing KCL Scheduler. Will retry");
LOG.error(NOISY, "Caught exception when initializing KCL Scheduler. Will retry", ex);
}

if (scheduler == null) {
Expand Down
2 changes: 1 addition & 1 deletion data-prepper-plugins/s3-sink/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies {
implementation 'software.amazon.awssdk:netty-nio-client'
implementation 'software.amazon.awssdk:s3'
implementation 'software.amazon.awssdk:sts'
implementation 'software.amazon.awssdk:securitylake:2.28.20'
implementation 'software.amazon.awssdk:securitylake'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.9.22'
implementation project(':data-prepper-plugins:avro-codecs')
implementation libs.avro.core
Expand Down

0 comments on commit 2575db3

Please sign in to comment.