[
https://issues.apache.org/jira/browse/NIFI-5248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16650381#comment-16650381
]
ASF GitHub Bot commented on NIFI-5248:
--------------------------------------
Github user mattyb149 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2861#discussion_r225215710
--- Diff:
nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-restapi-processors/src/main/java/org/apache/nifi/processors/elasticsearch/ElasticSearchRestProcessor.java
---
@@ -75,6 +76,19 @@
.required(true)
.build();
+ Relationship REL_FAILURE = new Relationship.Builder()
+ .name("failure")
+ .description("All flowfiles that fail for reasons unrelated to
server availability go to this relationship.")
+ .build();
+ Relationship REL_RETRY = new Relationship.Builder()
+ .name("retry")
+ .description("All flowfiles that fail due to server/cluster
availability go to this relationship.")
+ .build();
+ Relationship REL_SUCCESS = new Relationship.Builder()
+ .name("success")
+ .description("All flowfiles that succeed in being indexed into
ElasticSearch go here.")
--- End diff --
Maybe "transmitted to ElasticSearch"? Unless "indexed" is a generic enough
term that users would know covers upserts, deletes, and any other supported
operation.
> Create new put processors that use the ElasticSearch client service
> -------------------------------------------------------------------
>
> Key: NIFI-5248
> URL: https://issues.apache.org/jira/browse/NIFI-5248
> Project: Apache NiFi
> Issue Type: New Feature
> Reporter: Mike Thomsen
> Assignee: Mike Thomsen
> Priority: Major
>
> Two new processors:
> * PutElasticsearchJson - put raw JSON.
> * PutElasticsearchRecord - put records.
> Both of them should support the general bulk load API and be able to do
> things like insert into multiple indexes from one payload.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)