ElasticSearch river Plugins implementation benefits


I'm new with ElasticSearch and I'm trying to get the insight by reviewing
its code. I want to implement a river plugin in order to read a file source
and add these documents to ES. I have seen some similar implementations
through the community that do the same thing (fsriver, CSV).

What I wanted to ask is what is the actual benefit from doing it within an
ElasticSearch plugin instead of just using the Java API provided and a
separate client? Since the actual code utilizes the BulkRequestBuilder.
Will the load of uploading the data be spread into the cluster? Is it
possible to elaborate on what other benefits i will get by implementing it
as a river plugin?

Thank you very much

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.