I just want to confirm that the nifi putElasticSearch processor calls elastic search restful API under the hood.
Thanks.
Yes it does.
The repository is available here,
And as you can read in here they are using the Elastic bulk query