If you try to create record using this connector and Elasticsearch 7.6.2 you will get elastic search internal error. Everything is ok with Elasticsearch 6.4.0. I think, the reason is in new Elasticsearch 7.x API. Also issue may be caused by the fact, that elasticsearch.js you use is deprecated