I'm doing some local testing on my Mac to get a feel for Kafka Connect, and
I'm running into several issues.

First, when I untar the Kafka 0.10.0.1 source and run
`./bin/connect-distributed.sh config/connect-distributed.properties`, I get
a "Usage" message. By digging through scripts a bit, I found that the
CLASSPATH variable ends up being empty, so it's interpreting the properties
file as the classpath and thus thinks no properties file was passed.

In order to get past that hurdle, I had to find the compiled
`connect-runtime` jar and specifically set the classpath to look at that
jar. Is it expected that the connect-distributed.sh script should be usable
directly from the Kafka source? Am I missing documentation about setup?

Second, I'm finding that I can't get the Kafka Connect process to shut down
cleanly. The DistributedHerder always hangs on shutdown. When I hit Ctrl-C,
I see the following log messages:

INFO  [2016-09-10 01:11:40,430]
org.apache.kafka.connect.runtime.Connect: Kafka Connect stopping
INFO  [2016-09-10 01:11:40,430]
org.apache.kafka.connect.runtime.rest.RestServer: Stopping REST server
INFO  [2016-09-10 01:11:40,443]
org.apache.kafka.connect.runtime.rest.RestServer: REST server stopped
INFO  [2016-09-10 01:11:40,443]
org.apache.kafka.connect.runtime.distributed.DistributedHerder: Herder
stopping

But the "Herder stopped" message never comes and I can only stop the
process by calling `kill -9` on it. Any thoughts on what could cause this?

Reply via email to