Specify –component-dir and –worker-configs explicitly
You’ll have to pass both options to include the Homebrew location of Kafka Connect’s plugin.path
setting (where Confluent Hub would install to) and your connect-distributed.properties
(so that the plugin path can be setup if it isn’t already)
e.g. (on a Mac, after brew install kafka
)
confluent-hub install <name> \
--component-dir /usr/local/Cellar/kafka/plugins \
--worker-configs /usr/local/etc/kafka/connect-distributed.properties
This command should download and extract the connector zip into /usr/local/Cellar/kafka/plugins
and modify the connect-distributed.properties
file to include that path in its plugin.path
property
Here is an example using a Kafka Connect docker image that I’ve built