Connect Schema Registry to Existing Kafka Servers (Using Confluent For Kubernetes)

I want to install a schema registry in a Kubernetes cluster and connect it to my already existing kafka server which is not managed by Confluent Platform.

Following the documentation and confluent-kubernetes-examples github, I would do the following:

  • Deploy Confluent For Kubernetes using Helm
  • Deploy a SchemaRegistry CRD

But how do I provide the configuration so that the SchemaRegistry resource points to my already existing kafka server? How do I set the kafkastore.bootstrap.servers, kafkastore.sasl.mechanism, kafkastore.security.protocol properties in the K8s manifest .yml? I don’t see any of those property values available in the SchemaRegistry CRD Documentation.

And what about the jaas config credentials as well, where are those configured?

Do I need to create more resources besides just the SchemaRegistry to use my already existing Kafka servers, am I missing something? Or is there an easier way for my specific scenario to install and use a registry besides using Confluent Platform?

Any help would be extremely appreciated.

hey @tuckeremulls

I guess the part you’ve looking for is in the dependencies section:

hth,
michael