# Json schema registry

**URL:** <https://forum.confluent.io/t/json-schema-registry/2269>\
**Category:** Kafka Connect\
**Created:** [16 July 2021 01:46 UTC](https://forum.confluent.io/t/json-schema-registry/2269 "2021-07-16T01:46:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![robbyd](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@robbyd](https://forum.confluent.io/u/robbyd)\
**Post date:** [16 July 2021 01:46 UTC](https://forum.confluent.io/t/json-schema-registry/2269/1 "2021-07-16T01:46:53Z")

</div>

Hello pretty new to confluent. But I do have a elasticsearch connector set up that works great. I am looking to create my own schema for this json that is being pushed to kafka.

My first question is can my dev set a schema before they push the data to kafka?

If this is not an option is there a good guide to set up a schema or mappings?

---

<div class="post-metadata">

**Author:** ![daveklein](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/daveklein/32/140_2.png) [@daveklein](https://forum.confluent.io/u/daveklein)\
**Post date:** [21 July 2021 21:53 UTC](https://forum.confluent.io/t/json-schema-registry/2269/2 "2021-07-21T21:53:31Z")

</div>

Hi Rob,

You may have already figured this out, but yes, you can set a schema before sending data to Kafka. Using the Confluent Schema Registry you can create schemas in JSON Schema, Avro, or Protobuf.

Dave

---

<div class="post-metadata">

**Author:** ![adsin27](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@adsin27](https://forum.confluent.io/u/adsin27)\
**Post date:** [4 August 2021 05:21 UTC](https://forum.confluent.io/t/json-schema-registry/2269/3 "2021-08-04T05:21:57Z")

</div>

Hi @daveklein , I have a similar question around this. I am trying to send some json records to confluent kafka topic and I want my schema to get registered. I am using kafka-json-schema-serializer but the json record field names are not getting registered properly.

More about what I am trying to do [Click here](https://stackoverflow.com/questions/68621280/jsonschema-values-not-sent-when-using-scala-case-class)

Any suggestions?  
Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [3 September 2021 05:22 UTC](https://forum.confluent.io/t/json-schema-registry/2269/4 "2021-09-03T05:22:30Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
