Hi,
For adding HTTP Sink connector to my event streams, I have cloned the git repo as mentioned in the connector catalog.
git clone https://github.com/thomaskwscott/kafka-connect-http.git
cd kafka-connect-http
mvn package
when I run mvn package command inside kafka-connect-http folder, getting below error:
[INFO] ------------------< uk.co.threefi:kafka-connect-http >------------------
[INFO] Building kafka-connect-http 5.4.1
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central:
https://repo.maven.apache.org/maven2/io/confluent/kafka-connect-maven-plugin/0.11.2/kafka-connect-maven-plugin-0.11.2.pom[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.573 s
[INFO] Finished at: 2022-05-06T18:44:32+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin io.confluent:kafka-connect-maven-plugin:0.11.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for io.confluent:kafka-connect-maven-plugin:jar:0.11.2: Could not transfer artifact io.confluent:kafka-connect-maven-plugin:pom:0.11.2 from/to central (https://repo.maven.apache.org/maven2): transfer failed for
https://repo.maven.apache.org/maven2/io/confluent/kafka-connect-maven-plugin/0.11.2/kafka-connect-maven-plugin-0.11.2.pom: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
PluginResolutionExceptionAny suggestion on how to fix the issue?
------------------------------
Thanks,
Santhosh Ramanathan
------------------------------