apache / apache/beam

Add a withSSLContext builder method to ElasticsearchIO

Open
#20,527 1 comment 0 reactions 0 assignees View on GitHub
elasticsearch io java new feature P2
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Currently, the ElasticsearchIO transforms have 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.

Imported from Jira [BEAM-10838](https://issues.apache.org/jira/browse/BEAM-10838). Original Jira may contain additional context.
Reported by: clandry94.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.