CCAAK practice question 7 of 15

You are using Confluent Schema Registry to provide a RESTful interface for storing and retrieving schemas. Which types of schemas are supported? (Choose three.)

Full set: 54 questions
Answer options
A: Avro Correct answer
B: gRPC
C: JSON Correct answer
D: Thrift
E: Protobuf Correct answer
Correct Answer:
A. Avro; C. JSON; E. Protobuf
Explanation

Confluent Schema Registry provides a centralized repository for managing and validating schemas for Kafka messages. It natively supports three schema formats as first-class citizens: Avro, Protobuf, and JSON Schema. These formats enable robust schema evolution, ensuring that producers and consumers can exchange data compatibly over time. The registry's RESTful interface allows for the storage, retrieval, and versioning of schemas defined in any of these three supported types, which are integrated with corresponding serializers and deserializers for client applications.

Why Incorrect

B. gRPC: gRPC is a remote procedure call (RPC) framework. While it uses Protobuf for defining service interfaces and message structures, gRPC itself is not a schema format stored in Schema Registry.
D. Thrift: Apache Thrift is a serialization and RPC framework similar to Protobuf. However, it is not a natively supported schema format within the Confluent Schema Registry.

References

1. Confluent Documentation, "Schema Registry Overview": "Schema Registry provides a serving layer for your metadata. It provides a RESTful interface for storing and retrieving your Avro®, JSON Schema, and Protobuf schemas."

Source: Confluent, Inc., Schema Registry Overview, Confluent Platform 7.6 Documentation. Retrieved from https://docs.confluent.io/platform/current/schema-registry/index.html, Section: "Schema Registry Overview".

2. Confluent Documentation, "Formats, Serializers, and Deserializers": "Confluent Schema Registry supports Avro, Protobuf, and JSON Schema as first-class citizens. Schema Registry enables you to store and retrieve schemas of these formats, and use them with the Avro, Protobuf, and JSON Schema serializers and deserializers."

Source: Confluent, Inc., Formats, Serializers, and Deserializers, Confluent Platform 7.6 Documentation. Retrieved from https://docs.confluent.io/platform/current/schema-registry/fundamentals/serdes-develop/index.html#formats-serializers-and-deserializers, Introduction paragraph.

Scroll to Top