Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Why we need Schema Registry?

Sumit Rawal answered on January 12, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


Why we need Schema Registry?

0

Consider a scenario, where a given Subject is consumed by multiple consumers. Now, one consumer needs an additional attribute to be processed. To support this change, a Producer has two options

Create a new topic with an additional attribute.

Update the existing topic with an additional attribute.

Option 1 may not be viable always because of multiple reasons i.e. duplication of information or extra maintenance. Option 2 requires two versions of the same topic to support multiple consumers with different needs. In this case, Kafka provides this support using Schema Registry. Schema Registry allows storing Topic’s record structure in the form of Subject using multiple schemas. Please refer below the diagram to get a high-level understanding of the schema registry, schema, and their reference within consumer and producer.

Popularity 1/10 Helpfulness 1/10 Language whatever
Source: Grepper
Link to this answer
Share Copy Link
Contributed on May 30 2023
Sumit Rawal
0 Answers  Avg Quality 2/10

Closely Related Answers



0

Schema Registry is a distributed storage layer for schemas which uses Kafka as its underlying storage mechanism

https://docs.spring.io/spring-cloud-schema-registry/docs/current/reference/html/spring-cloud-schema-registry.html

Popularity 9/10 Helpfulness 1/10 Language java
Source: Grepper
Link to this answer
Share Copy Link
Contributed on Jan 12 2023
Anjali Sharma
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.