[ 
https://issues.apache.org/jira/browse/BEAM-9627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17220754#comment-17220754
 ] 

Alexey Romanenko commented on BEAM-9627:
----------------------------------------

Hi [~mwz] , I don't think it's possible to use from Python API for the moment 
since Python SDK version of Kafka IO uses Java {{KafkaIO}} through external 
PTransform which is exposed by \{{KafkaIO.Read.External}} class and it's 
\{{Configuration}} and it uses default \{{consumerFactoryFn}}. So yes, please 
open a new issue about that for \{{io-py-kafka}} component.

> KafkaIO needs better support for SSL
> ------------------------------------
>
>                 Key: BEAM-9627
>                 URL: https://issues.apache.org/jira/browse/BEAM-9627
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-kafka
>            Reporter: Daniel Mills
>            Priority: P3
>             Fix For: Not applicable
>
>
> Configuring SSL for kafka requires pointing an option at local files 
> containing keys and roots of trust as described here: 
> [https://www.confluent.io/blog/apache-kafka-security-authorization-authentication-encryption/]
> Currently, it is somewhat tricky to ensure that these files are written 
> before KafkaIO starts reading from the source; one potential option would be 
> to add an init hook where the user could download keys from the keystore of 
> their choice and write them to local files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to