Well, we have our Avro schema; now, we need to register it in the Schema Registry.
When we start the Confluent Platform, the Schema Registry is started, as shown in the following code:
$./bin/confluent start
Starting zookeeper
zookeeper is [UP]
Starting kafka
kafka is [UP]
Starting schema-registry
schema-registry is [UP]
Starting kafka-rest
kafka-rest is [UP]
Starting connect
connect is [UP]
Starting ksql-server
ksql-server is [UP]
Starting control-center
control-center is [UP]
If we want just to start the Schema Registry, we need to run the following command:
$./bin/schema-registry-start etc/schema-registry/schema-registry.properties
The output is similar to the one shown here:
...
[2017-03-02 10:01:45,320] INFO Started NetworkTrafficServerConnector@2ee67803{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}