You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2022/01/18 19:00:00 UTC
[jira] [Commented] (BEAM-10838) Add a withSSLContext builder method to ElasticsearchIO
[ https://issues.apache.org/jira/browse/BEAM-10838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17478135#comment-17478135 ]
Kenneth Knowles commented on BEAM-10838:
----------------------------------------
I don't know much about how this would work - can this be serialized as part of the graph and shipped up to workers effectively? I will ping [~echauchot] [~fcaylus] [~egalpin] [~andresrc] who have done work on ElasticSearchIO. If this is a general pattern for all IOs it could be worth a discussion on dev@beam.apache.org.
> Add a withSSLContext builder method to ElasticsearchIO
> -------------------------------------------------------
>
> Key: BEAM-10838
> URL: https://issues.apache.org/jira/browse/BEAM-10838
> Project: Beam
> Issue Type: Improvement
> Components: io-java-elasticsearch
> Reporter: Conor Landry
> Priority: P2
>
> Currently, the ElasticsearchIO transforms only one way to securely read/write Elasticsearch by using the withKeystorePath builder method and providing the location of a keystore containing a client key in jks format.
> This is a bit limiting, especially for Elasticsearch users not depending on shield to secure their clusters. I'd like to propose the addition of the builder method withSSLContext(SSLContext sslContext, which delegates to `httpClientBuilder.setSSLContext`.
> If this is (y), I can start working on it.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)