'connector list does not show my installed connector

Good day,

Base on https://docs.confluent.io/kafka-connect-jdbc/current/index.html#installing-jdbc-drivers , 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-jdbc folder is created under <confluent-plaform>/share/confluent-hub-components.

And here is the screen shot to show the result of my install command: enter image description here

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

After that, I come to https://docs.confluent.io/kafka-connect-jdbc/current/source-connector/index.html , 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?



Solution 1:[1]

After running confluent-hub install you must restart the Kafka Connect worker for it to pick up the new connector.

Since you're using the Confluent CLI the commands are:


Edit: your screenshot shows that you told the Confluent Hub client not to update any of the Kafka Connect worker configurations. Therefore the worker will not pick up the connector that you've installed.

You should run the Confluent Hub client again and tell it to update the Kafka Connect worker configurations when prompted, and then restart the Kafka Connect worker. After that it will pick up the new connector.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1