[
https://issues.apache.org/jira/browse/FLINK-28116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17557466#comment-17557466
]
Deepika Sahu commented on FLINK-28116:
--------------------------------------
In earlier version of flink we had the provision to set the rest client factory
at the ElasticsearchSink.Builder level
ElasticsearchSink.Builder<Map.Entry<String, String>>
elasticsearchSinkBuilder = new ElasticsearchSink.Builder<>(.....);
// provide a RestClientFactory for custom configuration on the internally
created REST client:-
elasticsearchSinkBuilder.setRestClientFactory(new
HighLevelRestClientFactory(adfsSecurityProvider));
Any specific reason this was removed , is there any other work around for the
same?
> Elasticsearch connector doesn't provide security through token
> --------------------------------------------------------------
>
> Key: FLINK-28116
> URL: https://issues.apache.org/jira/browse/FLINK-28116
> Project: Flink
> Issue Type: New Feature
> Components: Connectors / ElasticSearch
> Affects Versions: 1.15.0
> Reporter: Deepika Sahu
> Priority: Major
>
> Elasticsearchsink doesn’t have an option to pass the refreshing token in the
> header. It supports only the hardcoded user name and password.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)