Issue on creating and using a custom connector in Ververica

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue on creating and using a custom connector in Ververica

Natu Lauchande

Good day Flink community,

Apache Flink/Ververica Community Edition - Question

I am trying to add a custom connector to Ververica community edition and keeps giving me the following error: "The jar contains multiple connector. Please choose one.", it doesn't allow me to choose more jars. I am testing with the following repo generated custom connectors: https://github.com/deadwind4/slink/tree/master/connector-es6

My specific question is there anything specific missing from this repos that we should add to signal ververica about a custom record


I am constantly receiving the following message attached ("The jar contains multiple connectors, please select one.") and i can't select any option. 


Thanks,

Natu


Screenshot 2021-05-24 at 13.51.13.png (1M) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Issue on creating and using a custom connector in Ververica

Ingo Bürk
Hi Natu,

the message is of course a bit unfortunate and misleading, but the issue here isn't that multiple connectors are found, but that none are found. The repository you linked to implements a connector using the old connector stack, but Ververica Platform only supports the new stack, see [1].
From a quick look it also seems to be missing the entry in META-INF/services which would be required for the factory discovery to work.

In my personal GitHub profile I have an example[2] for a connector using the new stack which also works in Ververica Platform (it's not for Elasticsearch, though).



Regards
Ingo

On Mon, May 24, 2021 at 1:57 PM Natu Lauchande <[hidden email]> wrote:

Good day Flink community,

Apache Flink/Ververica Community Edition - Question

I am trying to add a custom connector to Ververica community edition and keeps giving me the following error: "The jar contains multiple connector. Please choose one.", it doesn't allow me to choose more jars. I am testing with the following repo generated custom connectors: https://github.com/deadwind4/slink/tree/master/connector-es6

My specific question is there anything specific missing from this repos that we should add to signal ververica about a custom record


I am constantly receiving the following message attached ("The jar contains multiple connectors, please select one.") and i can't select any option. 


Thanks,

Natu