Configure Kafka Connect
1. Edit the following.
sudo vim $KAFKA_HOME/config/connect-distributed.properties
2. Add the following to the config.
bootstrap.servers=<BOOTSTRAP_SERVER1,BOOTSTRAP_SERVER2,BOOTSTRAP_SERVER3>
plugin.path=/usr/local/share/kafka/plugins
key.converter.schemas.enable=false
value.converter.schemas.enable=false
config.storage.replication.factor=<replication_factor>
It is important that your topics and the replication factor here match.
Start Kafka Connect
1. Run connect-distributed.sh and pass the config.
sudo $KAFKA_HOME/bin/connect-distributed.sh $KAFKA_HOME/config/connect-distributed.properties
Comments
0 comments
Please sign in to leave a comment.