CrynetLogistics commented on a change in pull request #17345:
URL: https://github.com/apache/flink/pull/17345#discussion_r748117183



##########
File path: 
flink-connectors/flink-connector-aws-kinesis-data-streams/src/main/java/org/apache/flink/streaming/connectors/kinesis/util/AwsV2Util.java
##########
@@ -110,6 +114,20 @@ public static SdkAsyncHttpClient createHttpClient(
                         .map(Duration::ofMillis)
                         .orElse(DEFAULT_EFO_HTTP_CLIENT_READ_TIMEOUT);
 
+        boolean trustAllCerts =
+                Optional.ofNullable(
+                                consumerConfig.getProperty(
+                                        
AWSConfigConstants.TRUST_ALL_CERTIFICATES))
+                        .map(Boolean::parseBoolean)
+                        .orElse(DEFAULT_TRUST_ALL_CERTIFICATES);
+
+        Protocol httpProtocolVersion =
+                Optional.ofNullable(
+                                consumerConfig.getProperty(
+                                        
AWSConfigConstants.HTTP_PROTOCOL_VERSION))
+                        .map(Protocol::valueOf)
+                        .orElse(DEFAULT_HTTP_PROTOCOL);

Review comment:
       These are needed for Kinesalite to run.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to