[
https://issues.apache.org/jira/browse/NIFI-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15690963#comment-15690963
]
Randy Bovay commented on NIFI-1594:
-----------------------------------
There are 2 enhancements that would improve this processor.
1) We'd like to have expression language support for ElasticSearch Hosts, and
ClusterName field. This is good for developers, and allows us to vary our
targets per data center and environment. Otherwise we would have to deploy
code and then manually update it.
2) Also, the bulk transport clients should allow for configuring multiple hosts
in the elasticsearch hosts field. This allows us to have a Primary, and many
secondary lists of servers. So that if one goes offline, the processor will
connect to a backup to retrieve the routing table information.
This shows how to set multiple addresses.
https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/transport-client.html
> Add option to bulk using Index or Update to PutElasticsearch
> ------------------------------------------------------------
>
> Key: NIFI-1594
> URL: https://issues.apache.org/jira/browse/NIFI-1594
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: João Henrique Ferreira de Freitas
> Priority: Minor
> Fix For: 1.0.0, 0.7.0, 1.0.0-Beta
>
>
> I have a use case where two flowfiles needs to be write using
> PutElasticsearch. Both will write to the same document but in different
> properties.
> The proposal is to let the user choice if an Update operation or Index is
> needed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)