Skip to content

Commit

Permalink
Debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
damccorm committed Dec 24, 2024
1 parent 30fd605 commit c8caf0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public <BuilderT extends AwsClientBuilder<BuilderT, ClientT>, ClientT> BuilderT
boolean skipCertificateVerification = false;
if (config.skipCertificateVerification() != null) {
skipCertificateVerification = config.skipCertificateVerification();
throw new RuntimeException("config was non-null " + skipCertificateVerification);
}
if (proxyConfig != null || httpConfig != null || skipCertificateVerification) {
if (builder instanceof SdkSyncClientBuilder) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ public PTransform<PCollection<byte[]>, KinesisIO.Write.Result> buildExternal(
"Service endpoint must be URI format, got: %s", configuration.serviceEndpoint));
}
}
if (configuration.verifyCertificate) {
throw new RuntimeException("This is the problem");
}
KinesisIO.Write<byte[]> writeTransform =
KinesisIO.<byte[]>write()
.withStreamName(configuration.streamName)
Expand Down

0 comments on commit c8caf0c

Please sign in to comment.