Confluent platform quick start

https://docs.confluent.io/3.1.1/quickstart.html#quickstart

using the Oracle developer VM to start with (save time for Centos OS, etc)

 

Fix during the steps
1. Change the port of registry in the properties file

/etc/schema-registry/schema-registry.properties

(if the port 8081 is being used)

2. to start the avro producer, specify the registry url since the default port 8081 is changed

./usr/bin/kafka-avro-console-producer –broker-list localhost:9092 –topic test –property value.schema='{“type”:”record”,”name”:”myrecord”,”fields”:[{“name”:”f1″,”type”:”string”}]}’ –property schema.registry.url=http://localhost:8087

change the path accordingly for starting the zookeeper, kafka and registry

 ./bin/kafka-server-start ./etc/kafka/server.properties

to

 ./usr/bin/kafka-server-start ./etc/kafka/server.properties

Leave a Reply

Your email address will not be published. Required fields are marked *