Github user MikeThomsen commented on the issue:
https://github.com/apache/nifi/pull/2113
@mattyb149 I'm going to leave this open, but I decided to refactor the heck
out of it around a client service for ElasticSearch. The service only has one
method for now, but I think it's the way to go so that in the future as
services become injectable in scripts and such, it'll be more flexible.---
