geniusjoe commented on code in PR #382:
URL: https://github.com/apache/flume/pull/382#discussion_r962338052


##########
flume-ng-channels/flume-kafka-channel/src/main/java/org/apache/flume/channel/kafka/KafkaChannel.java:
##########
@@ -269,7 +296,12 @@ private void setProducerProps(Context ctx, String 
bootStrapServers) {
     // Defaults overridden based on config
     producerProps.putAll(ctx.getSubProperties(KAFKA_PRODUCER_PREFIX));
     producerProps.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, 
bootStrapServers);
-
+    //  The default value of `ssl.endpoint.identification.algorithm` is 
changed to `https`, since kafka client 2.0+
+    //  And because flume does not accept an empty string as property value,
+    //  so we need to use alternative custom property 
`ssl.disableTLSHostnameVerification` to check if enable fqdn check.

Review Comment:
   @tmgstevens please review again. 😁



-- 
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: dev-unsubscr...@flume.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to