RAHUL KUMAR
RAHUL KUMAR

Reputation: 41

Kafka connect not working?

While going through the apache official page

https://kafka.apache.org/quickstart

A text file is created as

echo -e "foo\nbar" > test.txt

And to use kakfa connect following command is used

bin/connect-standalone.sh config/connect-standalone.properties config/connect-file-source.properties config/connect-file-sink.properties

But while above command gets executed it shows a message kafka-connect stopped

enter image description here

Upvotes: 1

Views: 4325

Answers (1)

Robin Moffatt
Robin Moffatt

Reputation: 32110

Something else is using the same port that Kafka Connect wants to use.

You can use netstat -plnt to identify the other program (you'll need to run it as root if the process is owned by a different user).

If you want to get Kafka Connect to use a different port, edit config/connect-standalone.properties to add:

rest.port=18083

Where 18083 is an available port.

Upvotes: 3

Related Questions