Connector list does not show my installed connector

Good day,

Base on JDBC Connector (Source and Sink) for Confluent Platform | Confluent Documentation , I use the following command to isntall the jdbc connector:

confluent-hub install confluentinc/kafka-connect-jdbc:latest

Command run successfully, I can see confluentinc-kafka-connect-sftp folder is created under <confluent-plaform>/share/confluent-hub-components .

After that, I following the next instruction, to upload the jdbc drivers jar file to share/java/kafka-connect-jdbc .
image

After that, I come to JDBC Source Connector for Confluent Platform | Confluent Documentation , to load the db connector, first step, I use the list command to list down the connector I have by using following command:

confluent local services connect connector list

The output is show as follow:

[meow@localhost confluent-7.0.1]$ confluent local services connect connector list
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html

Bundled Connectors:
  file-sink
  file-source
  replicator

There is no connector name jdbc-source in the list, thus, I cant proceed to the next step to continue.

May I know what mistake on my steps?

After running this command you must restart the Kafka Connect worker for it to pick up the new connector.

See: confluent local services connect stop | Confluent Documentation

Hi rmoff, yes, I actually restart the kafka connect worker after I install it.

Since you x-posted to StackOverflow and I answered over there let’s continue the discussion there java - connector list does not show my installed connector - Stack Overflow

1 Like