Flink Xpack ElasticSearch 5 ElasticsearchSecurityE

2019-07-31 14:30发布

问题:

Goodmorning everyone. I am trying to Flink connector Elasticsearch 5.2.1 and I have problems with the authentication XPACK

回答1:

Using a different transport clients is currently (March 2017, Flink 1.2) not supported in Flink.

However, I've filed a JIRA to add the feature: FLINK-6065 Make TransportClient for ES5 pluggable

Until this has been implemented into Flink, I recommend overriding the ElasticsearchSink and using a different call bridge calling the PreBuiltXPackTransportClient.