couchbase / kafka-connect-couchbase

Kafka Connect connector for Couchbase Server
https://issues.couchbase.com/projects/KAFKAC
Apache License 2.0
71 stars 72 forks source link

Add support for service load plugin discovery #44

Closed yeikel closed 2 weeks ago

yeikel commented 2 weeks ago

Hi team,

I am trying to leverage KIP-898: Modernize Connect plugin discovery but both the source and the Sink connectors are missing the mandatory setup:

Sample error


level=ERROR connector_context=Stopping due to error class=org.apache.kafka.connect.cli.AbstractConnectCli line=100 
org.apache.kafka.connect.errors.ConnectException: One or more plugins are missing ServiceLoader manifests may not be usable with plugin.discovery=service_load: [
file:/usr/share/confluent-hub-components/couchbase-kafka-connect-couchbase/     com.couchbase.connect.kafka.CouchbaseSinkConnector      sink    4.2.3
file:/usr/share/confluent-hub-components/couchbase-kafka-connect-couchbase/     com.couchbase.connect.kafka.CouchbaseSourceConnector    source  4.2.3
file:/usr/share/confluent-hub-components/couchbase-kafka-connect-couchbase/     com.couchbase.connect.kafka.transform.DeserializeJson   transformation  undefined
file:/usr/share/confluent-hub-components/couchbase-kafka-connect-couchbase/     com.couchbase.connect.kafka.transform.DropIfNullValue   transformation  undefined
dnault commented 2 weeks ago

Thanks @yeikel . Looks like something we can sneak into the next release.

dnault commented 2 weeks ago

Jira link for cross-reference: https://jira.issues.couchbase.com/browse/KAFKAC-359

dnault commented 2 weeks ago

Done. Will be in 4.2.4, to be released any day now.