# Schema Registry

**URL:** https://forum.confluent.io/c/schema-registry/19.md?page=5

[Latest](https://forum.confluent.io/latest.md) · [Categories](https://forum.confluent.io/categories.md)

**Page:** 6

---

## [Vaildation fails](https://forum.confluent.io/t/vaildation-fails/3322)

<div class="topic-metadata">

**Author:** [@Fabs](https://forum.confluent.io/u/Fabs)\
**Replies:** 0\
**Last updated:** [9 November 2021 15:45 UTC](https://forum.confluent.io/t/vaildation-fails/3322 "2021-11-09T15:45:33Z")

</div>

Hey you all, I am trying to publish a message which should follow a given Avro-Schema. Unfortunately the validation fails. Any ideas what is wrong with the given message? This is the error message: FlixTech\\AvroSeri…

---

## [Consume topic different schema events](https://forum.confluent.io/t/consume-topic-different-schema-events/2591)

<div class="topic-metadata">

**Author:** [@bswarbrick](https://forum.confluent.io/u/bswarbrick)\
**Replies:** 1\
**Last updated:** [29 October 2021 14:40 UTC](https://forum.confluent.io/t/consume-topic-different-schema-events/2591 "2021-10-29T14:40:51Z")

</div>

I have created a JAVA App to produce multiple schemas to a single topic (looks good but the UI does not represent this - may be because it is a standalone install?). Anyway I am trying to figure out what I need to do to …

---

## [Resetting old version of a schema to 'latest'](https://forum.confluent.io/t/resetting-old-version-of-a-schema-to-latest/2958)

<div class="topic-metadata">

**Author:** [@rmizzi](https://forum.confluent.io/u/rmizzi)\
**Replies:** 2\
**Last updated:** [4 October 2021 06:24 UTC](https://forum.confluent.io/t/resetting-old-version-of-a-schema-to-latest/2958 "2021-10-04T06:24:05Z")

</div>

We have come across a situation where we had a schema definition that got updated over time so we had versions \[1, 2\]. After some time it was decided to revert to the original schema definition. When I repost the new …

---

## [42201 error: Not able to register schema](https://forum.confluent.io/t/42201-error-not-able-to-register-schema/2973)

<div class="topic-metadata">

**Author:** [@kkhambadkone](https://forum.confluent.io/u/kkhambadkone)\
**Replies:** 2\
**Last updated:** [4 October 2021 04:14 UTC](https://forum.confluent.io/t/42201-error-not-able-to-register-schema/2973 "2021-10-04T04:14:26Z")

</div>

I am trying to register a json schema from a file, I keep getting this error curl -X POST -H “Content-Type: application/vnd.schemaregistry.v1+json” --data “@/Users/kkhambadko001/poapprover-schema-1line.json” http://loc…

---

## [InvalidRecordException](https://forum.confluent.io/t/invalidrecordexception/2975)

<div class="topic-metadata">

**Author:** [@kkhambadkone](https://forum.confluent.io/u/kkhambadkone)\
**Replies:** 2\
**Last updated:** [3 October 2021 17:22 UTC](https://forum.confluent.io/t/invalidrecordexception/2975 "2021-10-03T17:22:43Z")

</div>

I have turned on schema validation for the kafka topic value. After that I am getting this exception. I have registered a schema in the schema registry and the subject name is the topic name. org.apache.kafka.common.…

---

## [JSON Spec support](https://forum.confluent.io/t/json-spec-support/2967)

<div class="topic-metadata">

**Author:** [@bulletboy](https://forum.confluent.io/u/bulletboy)\
**Replies:** 0\
**Last updated:** [1 October 2021 15:41 UTC](https://forum.confluent.io/t/json-spec-support/2967 "2021-10-01T15:41:14Z")

</div>

do the kafka joson serializer/deserializers support JSON Spec “Draft 2020-12”? Here it leads me to believe that they do not. If not supported then is there a timeline for support? Thanks for your time.

---

## [Couldn't able to registry schema/Produce or consume message with SSL enabled](https://forum.confluent.io/t/couldnt-able-to-registry-schema-produce-or-consume-message-with-ssl-enabled/2917)

<div class="topic-metadata">

**Author:** [@Ravi04](https://forum.confluent.io/u/Ravi04)\
**Replies:** 1\
**Last updated:** [29 September 2021 07:44 UTC](https://forum.confluent.io/t/couldnt-able-to-registry-schema-produce-or-consume-message-with-ssl-enabled/2917 "2021-09-29T07:44:44Z")

</div>

We have configured all SSL related properties and use same in mock code too but we are not able to registry schema and producer/consume message. Note: There is no issue with certificate as schema less approach with SS…

---

## [What if there's two schema registries with the same Id's connected to Kafka cluster?](https://forum.confluent.io/t/what-if-theres-two-schema-registries-with-the-same-ids-connected-to-kafka-cluster/2538)

<div class="topic-metadata">

**Author:** [@AlexGorshkov](https://forum.confluent.io/u/AlexGorshkov)\
**Replies:** 1\
**Last updated:** [25 September 2021 16:04 UTC](https://forum.confluent.io/t/what-if-theres-two-schema-registries-with-the-same-ids-connected-to-kafka-cluster/2538 "2021-09-25T16:04:26Z")

</div>

Hello! We’ve encountered an interesting situation in Kafka Broker/Connect/Schema registry TEST cluster. We have a 3-node Broker cluster and 1 node of Connect and 1 node of Schema registry. Connect have a URLs of the Bro…

---

## [Understanding Protobuf Compatibility](https://forum.confluent.io/t/understanding-protobuf-compatibility/2586)

<div class="topic-metadata">

**Author:** [@ryokota](https://forum.confluent.io/u/ryokota)\
**Replies:** 1\
**Last updated:** [30 August 2021 10:37 UTC](https://forum.confluent.io/t/understanding-protobuf-compatibility/2586 "2021-08-30T10:37:38Z")

</div>

I wrote a short blog to help explain Protobuf compatibility: Understanding Protobuf Compatibility – Robert Yokota

---

## [What if the Schema Registry Server crash and unrecoverable?](https://forum.confluent.io/t/what-if-the-schema-registry-server-crash-and-unrecoverable/2196)

<div class="topic-metadata">

**Author:** [@jdang](https://forum.confluent.io/u/jdang)\
**Replies:** 1\
**Last updated:** [13 August 2021 20:31 UTC](https://forum.confluent.io/t/what-if-the-schema-registry-server-crash-and-unrecoverable/2196 "2021-08-13T20:31:58Z")

</div>

Hello everyone, Months ago, we have our Kafka service host on cloud and manage by a “company” One day, we got alerts to let us know the Kafka nodes were down as well as Schema Registry Server. Once the Kafka nodes bac…

---

## [Using Schema Registry for JSON Records](https://forum.confluent.io/t/using-schema-registry-for-json-records/2379)

<div class="topic-metadata">

**Author:** [@adsin27](https://forum.confluent.io/u/adsin27)\
**Replies:** 4\
**Last updated:** [13 August 2021 20:27 UTC](https://forum.confluent.io/t/using-schema-registry-for-json-records/2379 "2021-08-13T20:27:41Z")

</div>

Hi All, I’m new to Confluent Cloud and deploying it using free trial of Confluent Kafka cluster. I am trying to produce/consume the JSON messages from Kafka Topic using authenticated Schema Registry which can map Schem…

---

## [Broker side message validation with schema](https://forum.confluent.io/t/broker-side-message-validation-with-schema/2416)

<div class="topic-metadata">

**Author:** [@lusine.mkrtchyan](https://forum.confluent.io/u/lusine.mkrtchyan)\
**Replies:** 0\
**Last updated:** [3 August 2021 06:57 UTC](https://forum.confluent.io/t/broker-side-message-validation-with-schema/2416 "2021-08-03T06:57:36Z")

</div>

I want the confluent kafka brokers to ignore bad formatted messages. Is it possible? I set the configurations, but am able to write bad messages still

---

## [Protobuf schema validation surprise/questions](https://forum.confluent.io/t/protobuf-schema-validation-surprise-questions/2399)

<div class="topic-metadata">

**Author:** [@ctoomey](https://forum.confluent.io/u/ctoomey)\
**Replies:** 1\
**Last updated:** [31 July 2021 20:18 UTC](https://forum.confluent.io/t/protobuf-schema-validation-surprise-questions/2399 "2021-07-31T20:18:12Z")

</div>

I’m testing out protobuf schemas / validation with schema registry for the first time. I’m using the protobuf serializer/deserializer and auto schema registration. For a given topic, I first published a compound protobu…

---

## [Schema Registry force delete and recreation updates the version](https://forum.confluent.io/t/schema-registry-force-delete-and-recreation-updates-the-version/2298)

<div class="topic-metadata">

**Author:** [@yoganam](https://forum.confluent.io/u/yoganam)\
**Replies:** 1\
**Last updated:** [22 July 2021 06:44 UTC](https://forum.confluent.io/t/schema-registry-force-delete-and-recreation-updates-the-version/2298 "2021-07-22T06:44:30Z")

</div>

Hi, Looking at the confluent docs Schema Deletion Guidelines | Confluent Documentation I have tried hard/force deleting schema registry using API with appending “?permanent=true” but on recreation of the topic, I see t…

---

## [Size of the schemas topic](https://forum.confluent.io/t/size-of-the-schemas-topic/2293)

<div class="topic-metadata">

**Author:** [@kafka](https://forum.confluent.io/u/kafka)\
**Replies:** 0\
**Last updated:** [18 July 2021 23:40 UTC](https://forum.confluent.io/t/size-of-the-schemas-topic/2293 "2021-07-18T23:40:24Z")

</div>

Hi, Our \_\_schemas topic started growing big, and we currently have over 200k records in the topic and size is around 80 MB. We have around 7k-8k schemas in total. Size 80 MB is not big, but every time we rollout changes…

---

## [Can the Version be overridden?](https://forum.confluent.io/t/can-the-version-be-overridden/2097)

<div class="topic-metadata">

**Author:** [@pzybrick](https://forum.confluent.io/u/pzybrick)\
**Replies:** 3\
**Last updated:** [26 June 2021 14:28 UTC](https://forum.confluent.io/t/can-the-version-be-overridden/2097 "2021-06-26T14:28:03Z")

</div>

Our company has the version standard of .., for example 2021.2.0 is the second release for 2021. We currently have our Avro schemas stored in S3 by these versions. From what I can tell from many experiments (and directl…

---

## [Avro.AvroException: GenericRecord required to write against record schema but found Avro.Generic.GenericRecord\[\]](https://forum.confluent.io/t/avro-avroexception-genericrecord-required-to-write-against-record-schema-but-found-avro-generic-genericrecord/1798)

<div class="topic-metadata">

**Author:** [@rkganapathy](https://forum.confluent.io/u/rkganapathy)\
**Replies:** 0\
**Last updated:** [17 May 2021 14:19 UTC](https://forum.confluent.io/t/avro-avroexception-genericrecord-required-to-write-against-record-schema-but-found-avro-generic-genericrecord/1798 "2021-05-17T14:19:52Z")

</div>

I am creating Confluent kafka producer in C# .Net environment with Avro array schema. While sending request I am getting below error. \> Avro.AvroException: GenericRecord required to write against record schema but found…

---

## [Multiple Event types in same topic](https://forum.confluent.io/t/multiple-event-types-in-same-topic/1634)

<div class="topic-metadata">

**Author:** [@abhisheks](https://forum.confluent.io/u/abhisheks)\
**Replies:** 7\
**Last updated:** [14 May 2021 10:10 UTC](https://forum.confluent.io/t/multiple-event-types-in-same-topic/1634 "2021-05-14T10:10:58Z")

</div>

Hi, I am trying to refer this blog and create a multi type schema using the same topic. Multiple Event Types in the Same Kafka Topic - Revisited Below is the schema which I have created using maven avro plugin, mvn sch…

---

## [Issues with optional fields when using Avro schema](https://forum.confluent.io/t/issues-with-optional-fields-when-using-avro-schema/1628)

<div class="topic-metadata">

**Author:** [@selim](https://forum.confluent.io/u/selim)\
**Replies:** 3\
**Last updated:** [10 May 2021 06:35 UTC](https://forum.confluent.io/t/issues-with-optional-fields-when-using-avro-schema/1628 "2021-05-10T06:35:08Z")

</div>

I’m trying to create a schema with optional fields. Here’s my setup: $\> cat mytest.avsc { "type": "record", "namespace": "com.example", "name": "MyTest", "fields" : \[ {"name": "field1", "type": "string"}, …

---

## [Multiple Event types in same topic with unions](https://forum.confluent.io/t/multiple-event-types-in-same-topic-with-unions/1616)

<div class="topic-metadata">

**Author:** [@googie](https://forum.confluent.io/u/googie)\
**Replies:** 6\
**Last updated:** [3 May 2021 20:37 UTC](https://forum.confluent.io/t/multiple-event-types-in-same-topic-with-unions/1616 "2021-05-03T20:37:04Z")

</div>

I read the article with interest \[Multiple Event Types in the Same Kafka Topic - Revisited\] I am trying to the set up a topic to handle multiple types safely as suggested using schema references. I was able to registe…

---

## [Setting compatibility from .Net SDK](https://forum.confluent.io/t/setting-compatibility-from-net-sdk/1547)

<div class="topic-metadata">

**Author:** [@gesho](https://forum.confluent.io/u/gesho)\
**Replies:** 2\
**Last updated:** [22 April 2021 23:09 UTC](https://forum.confluent.io/t/setting-compatibility-from-net-sdk/1547 "2021-04-22T23:09:51Z")

</div>

is there a way to set compatibility mode from .Net client per subject (other than default)? didnt find anything in Consfluent.SchemaRegistry + Serdes .Net api namespaces . only path I can think of is to wrap http call a…

---

## [Error Caused by: io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException: Schema 96361 not found; error code: 40403](https://forum.confluent.io/t/error-caused-by-io-confluent-kafka-schemaregistry-client-rest-exceptions-restclientexception-schema-96361-not-found-error-code-40403/1308)

<div class="topic-metadata">

**Author:** [@Declan\_Flaherty](https://forum.confluent.io/u/Declan_Flaherty)\
**Replies:** 1\
**Last updated:** [21 April 2021 14:56 UTC](https://forum.confluent.io/t/error-caused-by-io-confluent-kafka-schemaregistry-client-rest-exceptions-restclientexception-schema-96361-not-found-error-code-40403/1308 "2021-04-21T14:56:48Z")

</div>

Hi All , We’ve encountered the following errors in our streams applications, it occurs when we’re processing events and trying to fetch them from our kafka state stores. This typically occurs when there’s been a reboot …

---

## [Schema registry is not accepting a type by reference](https://forum.confluent.io/t/schema-registry-is-not-accepting-a-type-by-reference/1526)

<div class="topic-metadata">

**Author:** [@wcn00](https://forum.confluent.io/u/wcn00)\
**Replies:** 4\
**Last updated:** [18 April 2021 15:52 UTC](https://forum.confluent.io/t/schema-registry-is-not-accepting-a-type-by-reference/1526 "2021-04-18T15:52:32Z")

</div>

I have the following schemas: { "namespace": "org.wcn", "type": "record", "name": "Detail", "fields": \[ { "name": "quantity", "type": "int" }, { …

---

## [Schema Registry Rest API reference Error](https://forum.confluent.io/t/schema-registry-rest-api-reference-error/1479)

<div class="topic-metadata">

**Author:** [@arun](https://forum.confluent.io/u/arun)\
**Replies:** 2\
**Last updated:** [14 April 2021 21:19 UTC](https://forum.confluent.io/t/schema-registry-rest-api-reference-error/1479 "2021-04-14T21:19:27Z")

</div>

Trying to upload the schema to the development env using the REST API endpoint. https://${hostName}/subjects/${schemaName}/versions\` Able to create the schemas successfully. Tested the changes with simple types, work…

---

## [Connection of apache kafka to schema registry](https://forum.confluent.io/t/connection-of-apache-kafka-to-schema-registry/1477)

<div class="topic-metadata">

**Author:** [@shubhamshirur](https://forum.confluent.io/u/shubhamshirur)\
**Replies:** 2\
**Last updated:** [14 April 2021 03:39 UTC](https://forum.confluent.io/t/connection-of-apache-kafka-to-schema-registry/1477 "2021-04-14T03:39:38Z")

</div>

Is it possible to make use of Schema Registry Service with Apache Kafka? If yes, which API will be more sophisticated?

---

## [Loading Confluent Libraries in HDInsight Spark - Jupyter](https://forum.confluent.io/t/loading-confluent-libraries-in-hdinsight-spark-jupyter/1452)

<div class="topic-metadata">

**Author:** [@rvaneynd](https://forum.confluent.io/u/rvaneynd)\
**Replies:** 0\
**Last updated:** [12 April 2021 09:36 UTC](https://forum.confluent.io/t/loading-confluent-libraries-in-hdinsight-spark-jupyter/1452 "2021-04-12T09:36:23Z")

</div>

I have to thank you on the excellent article on how to consume Confluent Kafka in to Databricks. Using this article, I now have a working setup for our data. So thank you. :smiley: But now I have been asked if the same…

---

## [How to Deploy schema changes from Github to Confluent Cloud?](https://forum.confluent.io/t/how-to-deploy-schema-changes-from-github-to-confluent-cloud/1291)

<div class="topic-metadata">

**Author:** [@arun](https://forum.confluent.io/u/arun)\
**Replies:** 2\
**Last updated:** [30 March 2021 18:19 UTC](https://forum.confluent.io/t/how-to-deploy-schema-changes-from-github-to-confluent-cloud/1291 "2021-03-30T18:19:36Z")

</div>

Hi I am new here. Currently we are managing Schemas in confluent cloud per environment manually. Want to know how to manage the schemas in repo(GitHub) and deploy to multiple environments in confluent cloud instead of cr…

---

## [Understanding JSON Schema Compatibility](https://forum.confluent.io/t/understanding-json-schema-compatibility/1337)

<div class="topic-metadata">

**Author:** [@ryokota](https://forum.confluent.io/u/ryokota)\
**Replies:** 0\
**Last updated:** [29 March 2021 15:56 UTC](https://forum.confluent.io/t/understanding-json-schema-compatibility/1337 "2021-03-29T15:56:47Z")

</div>

I wrote a short blog to help explain JSON Schema Compatibility: Understanding JSON Schema Compatibility – Robert Yokota

---

## [Schema-registry-gitops - Manage Confluent Schema Registry subjects through Infrastructure as code](https://forum.confluent.io/t/schema-registry-gitops-manage-confluent-schema-registry-subjects-through-infrastructure-as-code/1080)

<div class="topic-metadata">

**Author:** [@rmoff](https://forum.confluent.io/u/rmoff)\
**Replies:** 1\
**Last updated:** [1 March 2021 19:38 UTC](https://forum.confluent.io/t/schema-registry-gitops-manage-confluent-schema-registry-subjects-through-infrastructure-as-code/1080 "2021-03-01T19:38:35Z")

</div>

---

## [Schema Registry Setup multi-DC](https://forum.confluent.io/t/schema-registry-setup-multi-dc/1018)

<div class="topic-metadata">

**Author:** [@kafka](https://forum.confluent.io/u/kafka)\
**Replies:** 6\
**Last updated:** [1 March 2021 00:27 UTC](https://forum.confluent.io/t/schema-registry-setup-multi-dc/1018 "2021-03-01T00:27:26Z")

</div>

Hi, We have a weird Schema Registry setup i.e…combination of VMs (bare metal) and K8’s in multi-DC. Probably K8s were added to retire VMs. My goal is to totally get rid of VMs and make it just K8s in multi-DC. Current ve…

[Previous page](https://forum.confluent.io/c/schema-registry/19.md?page=4)

[Next page](https://forum.confluent.io/c/schema-registry/19.md?page=6)
