By   October 25, 2017

Using Landoop’s Schema Registry UI

In this post, we are going to setup Schema Registry UI for Confluent’s schema registry using Docker Image for the tool. Schema Registry is an amazing tool by Landoop. It’s available in Github.

Let’s first pull the image from Docker Hub.

Schema Registry UI Docker Pull

Schema Registry UI Docker Pull

Now we can simply run the docker image by forwarding the port forwarding. Plus we need to specify the URI for our schema registry.

schema-registry-ui-running

schema-registry-ui-running

But as we run it and try to load the main page. We notice the error on the main page. Chrome’s Developer Tool should shed more light on the error. It’s actually CORS issue on our Schema Registry side.

Connectivity Error

Connectivity Error

So we need to enable CORS on our Schema Registry properties file. Let’s open /etc/schema-registry/ folder.

Screen Shot 2017-10-25 at 12.28.21 AM

Just make sure that we restart the confluent services after this change. Actually it should be enough if we just restart the schema registry service.

confluent start

confluent start

Now when we reload the page, the site loads just fine.

Screen Shot 2017-10-25 at 12.33.37 AM