[
https://issues.apache.org/jira/browse/NIFI-4743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16378734#comment-16378734
]
Robert Bruno commented on NIFI-4743:
------------------------------------
Added two files that I use for my patch if it helps. Of course would need to
be tested. It adds a processor property that let's you chose how to treat
nulls. I copied the code for the jsonrecordsetwriter.
> Suppress Nulls for PutElasticsearchHttpRecord
> ---------------------------------------------
>
> Key: NIFI-4743
> URL: https://issues.apache.org/jira/browse/NIFI-4743
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Extensions
> Reporter: Robert Bruno
> Priority: Minor
> Attachments: NullSuppression.java, PutElasticsearchHttpRecord.java
>
>
> Would be useful for PutElasticsearchHttpRecord to allow you to suppress NULL
> values in the JSON that is inserted into ES much like the JsonRecordSetWriter
> allows you to do. Perhaps PutElasticsearchHttpRecord could some how make use
> of JsonRecordSetWriter so it would inherit this functionality.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)