[
https://issues.apache.org/jira/browse/BEAM-12632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17509484#comment-17509484
]
Beam JIRA Bot commented on BEAM-12632:
--------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> ElasticsearchIO: Enabling both User/Pass auth and SSL overwrites User/Pass
> --------------------------------------------------------------------------
>
> Key: BEAM-12632
> URL: https://issues.apache.org/jira/browse/BEAM-12632
> Project: Beam
> Issue Type: Bug
> Components: io-java-elasticsearch
> Affects Versions: 2.31.0
> Reporter: Andrew Boshardy
> Priority: P2
> Labels: stale-P2
>
> When using the ElasticsearchIO class in the SDK, if you enable both username
> and password auth AND SSL, the SSL addition overwrites the username and
> password credentials as both utilize .setHttpClientConfigCallback()
> See:
> [https://github.com/apache/beam/blob/4fb05beb4b1063388432d4a66aa4ea245542cb02/sdks/java/io/elasticsearch/src/main/java/org/apache/beam/sdk/io/elasticsearch/ElasticsearchIO.java#L599]
> To recreate, set both the user/pw and keystore info for the write/read
> transform. Authentication then fails when connecting to an SSL+user/pw auth
> cluster.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)