Open sumeethtewar opened 4 years ago
Hi @sumeethtewar Could you please tell me what connector version generated the stack trace you provided? We need it to match the line numbers in the code.
Hi @sumeethtewar what i see from the configuration, you use io.confluent.connect.elasticsearch.ElasticsearchSinkConnector
- this is Confluent connector which doesn't work with ES 7.x. Our connector is a fork of the Confluent one, and it contains fix for ES 6.x - ES 7.x.
Hi Guys, Thanks a lot for reaching out. I used both the connectors available the confluent one(io.confluent.connect. elasticsearch.ElasticsearchSinkConnector) and the aiven one( io.aiven.connect.elasticsearch.ElasticsearchSinkConnector). But could not get them to work with the Elastic Search 7.4.0 installed on my Azure cluster. I tested with Aivens Elastic Search and everything works fine.
The ES I have installed on my Azure cluster does not have a username and password set. I even tried passing the properties for it as:
"connection.username": "",
"connection.password": "",
But it still gave me the NullPointerException as described. Is it the version issue? Aiven Kafka connect needs a newer version of ES 7 as in 7.8.1 or greater? Please let me know.
Regards, Sumeeth.
On Mon, Sep 14, 2020 at 1:03 PM Andrey Pleskach notifications@github.com wrote:
Hi @sumeethtewar https://github.com/sumeethtewar what i see from the configuration of you use io.confluent.connect.elasticsearch.ElasticsearchSinkConnector - this is Confluent connector which did not work with ES 7.x. Our connector is a fork of the Confluent one, and it contains fix for ES 6.x - ES 7.x.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aiven/aiven-kafka-connect-elasticsearch/issues/11#issuecomment-692008060, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6MFKXVCEWVDIXVQX2UZSLSFYBCTANCNFSM4RAELSIA .
Hi @sumeethtewar It would really help if you provide us with the NPE stack trace paired with the exact version of the connector. The stacktrace you provided doesn't seem to match the master of this connector.
Hello Ivan, Its the same issue with both version of connectors, anyhow let me do it again paste below:
So the ES connector version is 6.0.3 and the stack trace I get is visible in the image below.
Please note: The ES I am trying to connect is version 7.4.0 The connection to ES is over http as https connection throws Certificate PKIX not found issues.
[image: image.png]
Hope now you could do the required investigation? Please do let me know if you need anymore information.
Regards, Sumeeth.
On Wed, Sep 23, 2020 at 9:14 AM Ivan Yurchenko notifications@github.com wrote:
Hi @sumeethtewar https://github.com/sumeethtewar It would really help if you provide us with the NPE stack trace paired with the exact version of the connector. The stacktrace you provided doesn't seem to match the master of this connector.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aiven/aiven-kafka-connect-elasticsearch/issues/11#issuecomment-697208738, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6MFKW55AGN352GLX7ODQ3SHGU7JANCNFSM4RAELSIA .
Hello,
I deployed Elastic search version 7.4.0 on Azure, and I am using Aiven Kafka + Aiven Schema Registry + Aiven Kafka Connect for copying my messages from Kafka topic to the deployed Elastic Search.
connector configuration:
Even if I use both the sink connector versions 5.0.3 and 6.0.3 it throws the same exception as shown below:
If I use the Aiven Managed Elastic Search everything works fine. Could you please help figure out, what is the issue in using a elastic search service deployed on Azure?